Struct broot::pattern::PatternObject
source · pub struct PatternObject {
pub name: bool,
pub subpath: bool,
pub content: bool,
}
Expand description
on what the search applies (a composite pattern may apply to several topic hence the bools)
Fields§
§name: bool
§subpath: bool
§content: bool
Trait Implementations§
source§impl BitOr<PatternObject> for PatternObject
impl BitOr<PatternObject> for PatternObject
source§impl BitOrAssign<PatternObject> for PatternObject
impl BitOrAssign<PatternObject> for PatternObject
source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|=
operation. Read moresource§impl Clone for PatternObject
impl Clone for PatternObject
source§fn clone(&self) -> PatternObject
fn clone(&self) -> PatternObject
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 PatternObject
impl Debug for PatternObject
source§impl Default for PatternObject
impl Default for PatternObject
source§fn default() -> PatternObject
fn default() -> PatternObject
Returns the “default value” for a type. Read more
source§impl PartialEq<PatternObject> for PatternObject
impl PartialEq<PatternObject> for PatternObject
source§fn eq(&self, other: &PatternObject) -> bool
fn eq(&self, other: &PatternObject) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PatternObject
impl StructuralPartialEq for PatternObject
Auto Trait Implementations§
impl RefUnwindSafe for PatternObject
impl Send for PatternObject
impl Sync for PatternObject
impl Unpin for PatternObject
impl UnwindSafe for PatternObject
Blanket Implementations§
source§impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
impl<T> IsDefault for Twhere
T: Default + PartialEq<T> + Copy,
source§fn is_default(&self) -> bool
fn is_default(&self) -> bool
Checks that type has a default value.
§impl<T> Pointable for T
impl<T> Pointable for T
source§impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
impl<R, P> ReadPrimitive<R> for Pwhere
R: Read + ReadEndian<P>,
P: Default,
source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian()
.