pub struct CommandOptions(pub u8);Expand description
Link Status Command Options
Tuple Fields§
§0: u8Implementations§
Source§impl CommandOptions
impl CommandOptions
Sourcepub fn entry_count(&self) -> u8
pub fn entry_count(&self) -> u8
Entry count
Sourcepub fn set_entry_count(self, value: u8) -> Self
pub fn set_entry_count(self, value: u8) -> Self
Sets the Entry count
Sourcepub fn first_frame(&self) -> bool
pub fn first_frame(&self) -> bool
First frame
Sourcepub fn set_first_frame(self, value: bool) -> Self
pub fn set_first_frame(self, value: bool) -> Self
Sets the First frame
Sourcepub fn last_frame(&self) -> bool
pub fn last_frame(&self) -> bool
Last frame
Sourcepub fn set_last_frame(self, value: bool) -> Self
pub fn set_last_frame(self, value: bool) -> Self
Sets the Last frame
Trait Implementations§
Source§impl Clone for CommandOptions
impl Clone for CommandOptions
impl Copy for CommandOptions
Source§impl Debug for CommandOptions
impl Debug for CommandOptions
impl Eq for CommandOptions
Source§impl PartialEq for CommandOptions
impl PartialEq for CommandOptions
impl StructuralPartialEq for CommandOptions
Source§impl<C: Default> TryRead<'_, C> for CommandOptions
impl<C: Default> TryRead<'_, C> for CommandOptions
Auto Trait Implementations§
impl Freeze for CommandOptions
impl RefUnwindSafe for CommandOptions
impl Send for CommandOptions
impl Sync for CommandOptions
impl Unpin for CommandOptions
impl UnsafeUnpin for CommandOptions
impl UnwindSafe for CommandOptions
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more