pub struct BitsetBuilder { /* private fields */ }Expand description
Builder fuer bitset-Typen.
Implementations§
Source§impl BitsetBuilder
impl BitsetBuilder
Sourcepub fn field(
self,
name: impl Into<String>,
position: u16,
bitcount: u8,
holder_type: u8,
) -> Self
pub fn field( self, name: impl Into<String>, position: u16, bitcount: u8, holder_type: u8, ) -> Self
Fuegt ein Bitfield hinzu.
Sourcepub fn build_minimal(&self) -> MinimalBitsetType
pub fn build_minimal(&self) -> MinimalBitsetType
Baut MinimalBitsetType.
Sourcepub fn build_complete(&self) -> CompleteBitsetType
pub fn build_complete(&self) -> CompleteBitsetType
Baut CompleteBitsetType (mit Namen + Annotations-Placeholder).
Auto Trait Implementations§
impl Freeze for BitsetBuilder
impl RefUnwindSafe for BitsetBuilder
impl Send for BitsetBuilder
impl Sync for BitsetBuilder
impl Unpin for BitsetBuilder
impl UnsafeUnpin for BitsetBuilder
impl UnwindSafe for BitsetBuilder
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