pub struct ListAllDomainsFlags { /* private fields */ }Implementations§
Source§impl ListAllDomainsFlags
impl ListAllDomainsFlags
Sourcepub fn empty() -> ListAllDomainsFlags
pub fn empty() -> ListAllDomainsFlags
Returns an empty set of flags.
Sourcepub fn all() -> ListAllDomainsFlags
pub fn all() -> ListAllDomainsFlags
Returns the set containing all flags.
Sourcepub fn from_bits(bits: u32) -> Option<ListAllDomainsFlags>
pub fn from_bits(bits: u32) -> Option<ListAllDomainsFlags>
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
Sourcepub fn from_bits_truncate(bits: u32) -> ListAllDomainsFlags
pub fn from_bits_truncate(bits: u32) -> ListAllDomainsFlags
Convert from underlying bit representation, dropping any bits that do not correspond to flags.
Sourcepub fn intersects(&self, other: ListAllDomainsFlags) -> bool
pub fn intersects(&self, other: ListAllDomainsFlags) -> bool
Returns true if there are flags common to both self and other.
Sourcepub fn contains(&self, other: ListAllDomainsFlags) -> bool
pub fn contains(&self, other: ListAllDomainsFlags) -> bool
Returns true all of the flags in other are contained within self.
Sourcepub fn insert(&mut self, other: ListAllDomainsFlags)
pub fn insert(&mut self, other: ListAllDomainsFlags)
Inserts the specified flags in-place.
Sourcepub fn remove(&mut self, other: ListAllDomainsFlags)
pub fn remove(&mut self, other: ListAllDomainsFlags)
Removes the specified flags in-place.
Sourcepub fn toggle(&mut self, other: ListAllDomainsFlags)
pub fn toggle(&mut self, other: ListAllDomainsFlags)
Toggles the specified flags in-place.
Sourcepub fn set(&mut self, other: ListAllDomainsFlags, value: bool)
pub fn set(&mut self, other: ListAllDomainsFlags, value: bool)
Inserts or removes the specified flags depending on the passed value.
Trait Implementations§
Source§impl BitAnd for ListAllDomainsFlags
impl BitAnd for ListAllDomainsFlags
Source§fn bitand(self, other: ListAllDomainsFlags) -> ListAllDomainsFlags
fn bitand(self, other: ListAllDomainsFlags) -> ListAllDomainsFlags
Returns the intersection between the two sets of flags.
Source§type Output = ListAllDomainsFlags
type Output = ListAllDomainsFlags
& operator.Source§impl BitAndAssign for ListAllDomainsFlags
impl BitAndAssign for ListAllDomainsFlags
Source§fn bitand_assign(&mut self, other: ListAllDomainsFlags)
fn bitand_assign(&mut self, other: ListAllDomainsFlags)
Disables all flags disabled in the set.
Source§impl BitOr for ListAllDomainsFlags
impl BitOr for ListAllDomainsFlags
Source§fn bitor(self, other: ListAllDomainsFlags) -> ListAllDomainsFlags
fn bitor(self, other: ListAllDomainsFlags) -> ListAllDomainsFlags
Returns the union of the two sets of flags.
Source§type Output = ListAllDomainsFlags
type Output = ListAllDomainsFlags
| operator.Source§impl BitOrAssign for ListAllDomainsFlags
impl BitOrAssign for ListAllDomainsFlags
Source§fn bitor_assign(&mut self, other: ListAllDomainsFlags)
fn bitor_assign(&mut self, other: ListAllDomainsFlags)
Adds the set of flags.
Source§impl BitXor for ListAllDomainsFlags
impl BitXor for ListAllDomainsFlags
Source§fn bitxor(self, other: ListAllDomainsFlags) -> ListAllDomainsFlags
fn bitxor(self, other: ListAllDomainsFlags) -> ListAllDomainsFlags
Returns the left flags, but with all the right flags toggled.
Source§type Output = ListAllDomainsFlags
type Output = ListAllDomainsFlags
^ operator.Source§impl BitXorAssign for ListAllDomainsFlags
impl BitXorAssign for ListAllDomainsFlags
Source§fn bitxor_assign(&mut self, other: ListAllDomainsFlags)
fn bitxor_assign(&mut self, other: ListAllDomainsFlags)
Toggles the set of flags.
Source§impl Clone for ListAllDomainsFlags
impl Clone for ListAllDomainsFlags
Source§fn clone(&self) -> ListAllDomainsFlags
fn clone(&self) -> ListAllDomainsFlags
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ListAllDomainsFlags
impl Debug for ListAllDomainsFlags
Source§impl Extend<ListAllDomainsFlags> for ListAllDomainsFlags
impl Extend<ListAllDomainsFlags> for ListAllDomainsFlags
Source§fn extend<T: IntoIterator<Item = ListAllDomainsFlags>>(&mut self, iterator: T)
fn extend<T: IntoIterator<Item = ListAllDomainsFlags>>(&mut self, iterator: T)
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
extend_one)Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
extend_one)Source§impl FromIterator<ListAllDomainsFlags> for ListAllDomainsFlags
impl FromIterator<ListAllDomainsFlags> for ListAllDomainsFlags
Source§fn from_iter<T: IntoIterator<Item = ListAllDomainsFlags>>(
iterator: T,
) -> ListAllDomainsFlags
fn from_iter<T: IntoIterator<Item = ListAllDomainsFlags>>( iterator: T, ) -> ListAllDomainsFlags
Source§impl Hash for ListAllDomainsFlags
impl Hash for ListAllDomainsFlags
Source§impl Not for ListAllDomainsFlags
impl Not for ListAllDomainsFlags
Source§fn not(self) -> ListAllDomainsFlags
fn not(self) -> ListAllDomainsFlags
Returns the complement of this set of flags.
Source§type Output = ListAllDomainsFlags
type Output = ListAllDomainsFlags
! operator.Source§impl Ord for ListAllDomainsFlags
impl Ord for ListAllDomainsFlags
Source§fn cmp(&self, other: &ListAllDomainsFlags) -> Ordering
fn cmp(&self, other: &ListAllDomainsFlags) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for ListAllDomainsFlags
impl PartialEq for ListAllDomainsFlags
Source§impl PartialOrd for ListAllDomainsFlags
impl PartialOrd for ListAllDomainsFlags
Source§impl Sub for ListAllDomainsFlags
impl Sub for ListAllDomainsFlags
Source§fn sub(self, other: ListAllDomainsFlags) -> ListAllDomainsFlags
fn sub(self, other: ListAllDomainsFlags) -> ListAllDomainsFlags
Returns the set difference of the two sets of flags.
Source§type Output = ListAllDomainsFlags
type Output = ListAllDomainsFlags
- operator.Source§impl SubAssign for ListAllDomainsFlags
impl SubAssign for ListAllDomainsFlags
Source§fn sub_assign(&mut self, other: ListAllDomainsFlags)
fn sub_assign(&mut self, other: ListAllDomainsFlags)
Disables all flags enabled in the set.