pub struct Boolean(/* private fields */);Expand description
A wrapper struct for a boolean value, typically used for implementing DataReader and DataWriter.
§Examples
use datatypes::Boolean;
use datatypes::ImportantFunctions;
let boolean_value = Boolean::new(true);
assert_eq!(boolean_value.get_value(), true);Trait Implementations§
source§impl ImportantFunctions for Boolean
impl ImportantFunctions for Boolean
Auto Trait Implementations§
impl Freeze for Boolean
impl RefUnwindSafe for Boolean
impl Send for Boolean
impl Sync for Boolean
impl Unpin for Boolean
impl UnwindSafe for Boolean
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