pub struct SetVariant {
pub name: String,
pub bit_position: u8,
}Expand description
Set choice with name and bit position.
Fields§
§name: StringChoice name (will be converted to PascalCase).
bit_position: u8Bit position (0-based).
Trait Implementations§
Source§impl Clone for SetVariant
impl Clone for SetVariant
Source§fn clone(&self) -> SetVariant
fn clone(&self) -> SetVariant
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SetVariant
impl RefUnwindSafe for SetVariant
impl Send for SetVariant
impl Sync for SetVariant
impl Unpin for SetVariant
impl UnsafeUnpin for SetVariant
impl UnwindSafe for SetVariant
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