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: TcActionMessageFlags
A bitmask of TcActionMessageFlags
to be associated with an
operation.
selector: TcActionMessageFlags
A 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§
source§impl Clone for TcActionMessageFlagsWithSelector
impl Clone for TcActionMessageFlagsWithSelector
source§fn clone(&self) -> TcActionMessageFlagsWithSelector
fn clone(&self) -> TcActionMessageFlagsWithSelector
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 Default for TcActionMessageFlagsWithSelector
impl Default for TcActionMessageFlagsWithSelector
source§fn default() -> TcActionMessageFlagsWithSelector
fn default() -> TcActionMessageFlagsWithSelector
Returns the “default value” for a type. Read more
source§impl Ord for TcActionMessageFlagsWithSelector
impl Ord for TcActionMessageFlagsWithSelector
source§fn cmp(&self, other: &TcActionMessageFlagsWithSelector) -> Ordering
fn cmp(&self, other: &TcActionMessageFlagsWithSelector) -> Ordering
1.21.0 · 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
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 PartialEq for TcActionMessageFlagsWithSelector
impl PartialEq for TcActionMessageFlagsWithSelector
source§fn eq(&self, other: &TcActionMessageFlagsWithSelector) -> bool
fn eq(&self, other: &TcActionMessageFlagsWithSelector) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.source§impl PartialOrd for TcActionMessageFlagsWithSelector
impl PartialOrd for TcActionMessageFlagsWithSelector
impl Copy for TcActionMessageFlagsWithSelector
impl Eq 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 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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)