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 Nla for TcActionMessageFlagsWithSelector
impl Nla for TcActionMessageFlagsWithSelector
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
)