pub struct LanguageContentRule {
pub interpreter: &'static str,
pub allow_version_suffix: bool,
pub language: &'static str,
}Expand description
One registry-owned shebang interpreter rule.
Fields§
§interpreter: &'static strLowercase interpreter basename matched after optional env or busybox.
allow_version_suffix: boolWhether an ASCII numeric version suffix such as 3.12 is accepted.
language: &'static strCanonical owner language.
Trait Implementations§
Source§impl Clone for LanguageContentRule
impl Clone for LanguageContentRule
Source§fn clone(&self) -> LanguageContentRule
fn clone(&self) -> LanguageContentRule
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LanguageContentRule
impl Debug for LanguageContentRule
Source§impl PartialEq for LanguageContentRule
impl PartialEq for LanguageContentRule
Source§impl Serialize for LanguageContentRule
impl Serialize for LanguageContentRule
impl Copy for LanguageContentRule
impl Eq for LanguageContentRule
impl StructuralPartialEq for LanguageContentRule
Auto Trait Implementations§
impl Freeze for LanguageContentRule
impl RefUnwindSafe for LanguageContentRule
impl Send for LanguageContentRule
impl Sync for LanguageContentRule
impl Unpin for LanguageContentRule
impl UnwindSafe for LanguageContentRule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.