pub struct FileAttributeMatcher(/* private fields */);
Implementations§
Source§impl FileAttributeMatcher
impl FileAttributeMatcher
pub fn new(attributes: &str) -> FileAttributeMatcher
pub fn enumerate_namespace(&self, ns: &str) -> bool
pub fn matches(&self, attribute: &str) -> bool
pub fn matches_only(&self, attribute: &str) -> bool
pub fn subtract( &self, subtract: Option<&FileAttributeMatcher>, ) -> Option<FileAttributeMatcher>
Trait Implementations§
Source§impl Clone for FileAttributeMatcher
impl Clone for FileAttributeMatcher
Source§fn clone(&self) -> FileAttributeMatcher
fn clone(&self) -> FileAttributeMatcher
Returns a copy 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 FileAttributeMatcher
impl Debug for FileAttributeMatcher
Source§impl Display for FileAttributeMatcher
impl Display for FileAttributeMatcher
Source§impl Hash for FileAttributeMatcher
impl Hash for FileAttributeMatcher
Source§impl IntoIterator for FileAttributeMatcher
impl IntoIterator for FileAttributeMatcher
Source§impl Ord for FileAttributeMatcher
impl Ord for FileAttributeMatcher
Source§fn cmp(&self, other: &FileAttributeMatcher) -> Ordering
fn cmp(&self, other: &FileAttributeMatcher) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for FileAttributeMatcher
impl PartialEq for FileAttributeMatcher
Source§impl PartialOrd for FileAttributeMatcher
impl PartialOrd for FileAttributeMatcher
Source§impl StaticType for FileAttributeMatcher
impl StaticType for FileAttributeMatcher
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for FileAttributeMatcher
impl StructuralPartialEq for FileAttributeMatcher
Auto Trait Implementations§
impl Freeze for FileAttributeMatcher
impl RefUnwindSafe for FileAttributeMatcher
impl !Send for FileAttributeMatcher
impl !Sync for FileAttributeMatcher
impl Unpin for FileAttributeMatcher
impl UnwindSafe for FileAttributeMatcher
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