Struct rux::fcntl::SpliceFFlags
[−]
[src]
pub struct SpliceFFlags { /* fields omitted */ }
Methods
impl SpliceFFlags
[src]
fn empty() -> SpliceFFlags
Returns an empty set of flags.
fn all() -> SpliceFFlags
Returns the set containing all flags.
fn bits(&self) -> u32
Returns the raw value of the flags currently stored.
fn from_bits(bits: u32) -> Option<SpliceFFlags>
Convert from underlying bit representation, unless that representation contains bits that do not correspond to a flag.
fn from_bits_truncate(bits: u32) -> SpliceFFlags
Convert from underlying bit representation, dropping any bits that do not correspond to flags.
fn is_empty(&self) -> bool
Returns true
if no flags are currently stored.
fn is_all(&self) -> bool
Returns true
if all flags are currently set.
fn intersects(&self, other: SpliceFFlags) -> bool
Returns true
if there are flags common to both self
and other
.
fn contains(&self, other: SpliceFFlags) -> bool
Returns true
all of the flags in other
are contained within self
.
fn insert(&mut self, other: SpliceFFlags)
Inserts the specified flags in-place.
fn remove(&mut self, other: SpliceFFlags)
Removes the specified flags in-place.
fn toggle(&mut self, other: SpliceFFlags)
Toggles the specified flags in-place.
Trait Implementations
impl Clone for SpliceFFlags
[src]
fn clone(&self) -> SpliceFFlags
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl PartialOrd<SpliceFFlags> for SpliceFFlags
[src]
fn partial_cmp(&self, __arg_0: &SpliceFFlags) -> Option<Ordering>
fn lt(&self, __arg_0: &SpliceFFlags) -> bool
fn le(&self, __arg_0: &SpliceFFlags) -> bool
fn gt(&self, __arg_0: &SpliceFFlags) -> bool
fn ge(&self, __arg_0: &SpliceFFlags) -> bool
impl BitOr<SpliceFFlags> for SpliceFFlags
[src]
type Output = SpliceFFlags
fn bitor(self, other: SpliceFFlags) -> SpliceFFlags
Returns the union of the two sets of flags.
impl Copy for SpliceFFlags
[src]
impl Ord for SpliceFFlags
[src]
fn cmp(&self, __arg_0: &SpliceFFlags) -> Ordering
impl PartialEq<SpliceFFlags> for SpliceFFlags
[src]
fn eq(&self, __arg_0: &SpliceFFlags) -> bool
fn ne(&self, __arg_0: &SpliceFFlags) -> bool
impl Sub<SpliceFFlags> for SpliceFFlags
[src]
type Output = SpliceFFlags
fn sub(self, other: SpliceFFlags) -> SpliceFFlags
Returns the set difference of the two sets of flags.
impl BitAnd<SpliceFFlags> for SpliceFFlags
[src]
type Output = SpliceFFlags
fn bitand(self, other: SpliceFFlags) -> SpliceFFlags
Returns the intersection between the two sets of flags.
impl BitXor<SpliceFFlags> for SpliceFFlags
[src]
type Output = SpliceFFlags
fn bitxor(self, other: SpliceFFlags) -> SpliceFFlags
Returns the left flags, but with all the right flags toggled.
impl Eq for SpliceFFlags
[src]
impl FromIterator<SpliceFFlags> for SpliceFFlags
[src]
fn from_iter<T>(iterator: T) -> SpliceFFlags where
T: IntoIterator<Item = SpliceFFlags>,
T: IntoIterator<Item = SpliceFFlags>,
impl Hash for SpliceFFlags
[src]
impl Not for SpliceFFlags
[src]
type Output = SpliceFFlags
fn not(self) -> SpliceFFlags
Returns the complement of this set of flags.