pub struct GlobElement {
pub pattern: String,
pub weight: Option<i32>,
pub case_sensitive: bool,
}
Expand description
Glob element.
Fields§
§pattern: String
§weight: Option<i32>
§case_sensitive: bool
Trait Implementations§
Source§impl Clone for GlobElement
impl Clone for GlobElement
Source§fn clone(&self) -> GlobElement
fn clone(&self) -> GlobElement
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 GlobElement
impl Debug for GlobElement
Source§impl<'de> Deserialize<'de> for GlobElement
impl<'de> Deserialize<'de> for GlobElement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&GlobElement> for GlobRule
impl From<&GlobElement> for GlobRule
Source§fn from(glob: &GlobElement) -> Self
fn from(glob: &GlobElement) -> Self
Converts to this type from the input type.
Source§impl From<GlobElement> for GlobRule
impl From<GlobElement> for GlobRule
Source§fn from(glob: GlobElement) -> Self
fn from(glob: GlobElement) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GlobElement
impl RefUnwindSafe for GlobElement
impl Send for GlobElement
impl Sync for GlobElement
impl Unpin for GlobElement
impl UnwindSafe for GlobElement
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