pub enum AttributeMaskBuilder<'a> {
All,
Some(&'a [&'a str]),
}Expand description
A builder for a mask that controls what attributes are visible.
Variants§
Trait Implementations§
source§impl<'a> Clone for AttributeMaskBuilder<'a>
impl<'a> Clone for AttributeMaskBuilder<'a>
source§fn clone(&self) -> AttributeMaskBuilder<'a>
fn clone(&self) -> AttributeMaskBuilder<'a>
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<'a> Debug for AttributeMaskBuilder<'a>
impl<'a> Debug for AttributeMaskBuilder<'a>
source§impl Default for AttributeMaskBuilder<'_>
impl Default for AttributeMaskBuilder<'_>
source§impl<'a> PartialEq<AttributeMaskBuilder<'a>> for AttributeMaskBuilder<'a>
impl<'a> PartialEq<AttributeMaskBuilder<'a>> for AttributeMaskBuilder<'a>
source§fn eq(&self, other: &AttributeMaskBuilder<'a>) -> bool
fn eq(&self, other: &AttributeMaskBuilder<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> Eq for AttributeMaskBuilder<'a>
impl<'a> StructuralEq for AttributeMaskBuilder<'a>
impl<'a> StructuralPartialEq for AttributeMaskBuilder<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for AttributeMaskBuilder<'a>
impl<'a> Send for AttributeMaskBuilder<'a>
impl<'a> Sync for AttributeMaskBuilder<'a>
impl<'a> Unpin for AttributeMaskBuilder<'a>
impl<'a> UnwindSafe for AttributeMaskBuilder<'a>
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
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more