pub struct IsActionCamBuilder { /* private fields */ }Expand description
A builder for the bitfield.
Implementations§
Source§impl IsActionCamBuilder
impl IsActionCamBuilder
Sourcepub const fn new_without_defaults() -> Self
pub const fn new_without_defaults() -> Self
Creates a new bitfield builder instance without respecting defaults.
Sourcepub const fn with_is_action_camera(self, bits: bool) -> Self
pub const fn with_is_action_camera(self, bits: bool) -> Self
Sets builder bit 0.
Sourcepub const fn checked_with_is_action_camera(
self,
bits: bool,
) -> Result<Self, &'static str>
pub const fn checked_with_is_action_camera( self, bits: bool, ) -> Result<Self, &'static str>
Sets builder bit 0.
Sourcepub const fn build(self) -> IsActionCam
pub const fn build(self) -> IsActionCam
Builds a bitfield instance from the builder.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IsActionCamBuilder
impl RefUnwindSafe for IsActionCamBuilder
impl Send for IsActionCamBuilder
impl Sync for IsActionCamBuilder
impl Unpin for IsActionCamBuilder
impl UnsafeUnpin for IsActionCamBuilder
impl UnwindSafe for IsActionCamBuilder
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