Struct spirt::AttrSetDef
source · pub struct AttrSetDef {
pub attrs: BTreeSet<Attr>,
}
Fields§
§attrs: BTreeSet<Attr>
Implementations§
source§impl AttrSetDef
impl AttrSetDef
Trait Implementations§
source§impl AsRef<AttrSetDef> for AttrSetDef
impl AsRef<AttrSetDef> for AttrSetDef
source§impl Default for AttrSetDef
impl Default for AttrSetDef
source§fn default() -> AttrSetDef
fn default() -> AttrSetDef
Returns the “default value” for a type. Read more
source§impl Hash for AttrSetDef
impl Hash for AttrSetDef
source§impl InnerTransform for AttrSetDef
impl InnerTransform for AttrSetDef
fn inner_transform_with( &self, transformer: &mut impl Transformer ) -> Transformed<Self>
source§impl InnerVisit for AttrSetDef
impl InnerVisit for AttrSetDef
fn inner_visit_with<'a>(&'a self, visitor: &mut impl Visitor<'a>)
source§impl PartialEq<AttrSetDef> for AttrSetDef
impl PartialEq<AttrSetDef> for AttrSetDef
source§fn eq(&self, other: &AttrSetDef) -> bool
fn eq(&self, other: &AttrSetDef) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Visit for AttrSetDef
impl Visit for AttrSetDef
fn visit_with<'a>(&'a self, visitor: &mut impl Visitor<'a>)
impl Eq for AttrSetDef
impl StructuralEq for AttrSetDef
impl StructuralPartialEq for AttrSetDef
Auto Trait Implementations§
impl RefUnwindSafe for AttrSetDef
impl !Send for AttrSetDef
impl !Sync for AttrSetDef
impl Unpin for AttrSetDef
impl UnwindSafe for AttrSetDef
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<'a, T, V> DynInnerVisit<'a, V> for Twhere
T: InnerVisit,
V: Visitor<'a>,
impl<'a, T, V> DynInnerVisit<'a, V> for Twhere T: InnerVisit, V: Visitor<'a>,
fn dyn_inner_visit_with(&'a self, visitor: &mut V)
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.