pub struct ReaderStateFlagsBuilder { /* private fields */ }Expand description
Builder for ReaderStateFlags.
Implementations§
Source§impl ReaderStateFlagsBuilder
impl ReaderStateFlagsBuilder
pub fn unaware<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn ignore<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn changed<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn unknown<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn empty<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn present<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn exclusive<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn inuse<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn mute<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
pub fn unpowered<VALUE: Into<bool>>(&mut self, value: VALUE) -> &mut Self
Sourcepub fn build(&self) -> Result<ReaderStateFlags, ReaderStateFlagsBuilderError>
pub fn build(&self) -> Result<ReaderStateFlags, ReaderStateFlagsBuilderError>
Trait Implementations§
Source§impl Clone for ReaderStateFlagsBuilder
impl Clone for ReaderStateFlagsBuilder
Source§fn clone(&self) -> ReaderStateFlagsBuilder
fn clone(&self) -> ReaderStateFlagsBuilder
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 ReaderStateFlagsBuilder
impl RefUnwindSafe for ReaderStateFlagsBuilder
impl Send for ReaderStateFlagsBuilder
impl Sync for ReaderStateFlagsBuilder
impl Unpin for ReaderStateFlagsBuilder
impl UnsafeUnpin for ReaderStateFlagsBuilder
impl UnwindSafe for ReaderStateFlagsBuilder
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