pub struct TcActionMessageFlagsWithSelector {
pub flags: TcActionMessageFlags,
pub selector: TcActionMessageFlags,
}Expand description
TcActionMessageFlagsWithSelector sets the TcActionMessageFlags which
are to be included in an operation, based on the accompanying flags and
selector fields.
Fields§
§flags: TcActionMessageFlagsA bitmask of TcActionMessageFlags to be associated with an
operation.
selector: TcActionMessageFlagsA bitmask to determine which flags are to be included in an operation.
Any flags which are set in the flags field but which are not set in
the selector field will be ignored.
Implementations§
Source§impl TcActionMessageFlagsWithSelector
impl TcActionMessageFlagsWithSelector
Sourcepub fn new(flags: TcActionMessageFlags) -> Self
pub fn new(flags: TcActionMessageFlags) -> Self
Create a new TcActionMessageFlagsWithSelector with the given
flags.
The selector field is set to the same value as flags (i.e., none
of the flags will be ignored).
Sourcepub fn new_with_selector(
flags: TcActionMessageFlags,
selector: TcActionMessageFlags,
) -> Self
pub fn new_with_selector( flags: TcActionMessageFlags, selector: TcActionMessageFlags, ) -> Self
Create a new TcActionMessageFlagsWithSelector with the given
flags and selector.
Trait Implementations§
impl Copy for TcActionMessageFlagsWithSelector
impl Eq for TcActionMessageFlagsWithSelector
Source§impl Ord for TcActionMessageFlagsWithSelector
impl Ord for TcActionMessageFlagsWithSelector
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl<'a, T: AsRef<[u8]> + 'a + ?Sized> Parseable<NlaBuffer<&'a T>> for TcActionMessageFlagsWithSelector
impl<'a, T: AsRef<[u8]> + 'a + ?Sized> Parseable<NlaBuffer<&'a T>> for TcActionMessageFlagsWithSelector
Source§impl PartialOrd for TcActionMessageFlagsWithSelector
impl PartialOrd for TcActionMessageFlagsWithSelector
impl StructuralPartialEq for TcActionMessageFlagsWithSelector
Auto Trait Implementations§
impl Freeze for TcActionMessageFlagsWithSelector
impl RefUnwindSafe for TcActionMessageFlagsWithSelector
impl Send for TcActionMessageFlagsWithSelector
impl Sync for TcActionMessageFlagsWithSelector
impl Unpin for TcActionMessageFlagsWithSelector
impl UnsafeUnpin for TcActionMessageFlagsWithSelector
impl UnwindSafe for TcActionMessageFlagsWithSelector
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