pub struct Bool(/* private fields */);
Expand description
§A boolean value to use in tables
The boolean type in the plugin API is defined as a 32-bit value, which does not
necessarily correspond to the Rust bool
type. Since we borrow the actual
value, we cannot convert it on the fly to the native Rust type.
This type serves as a wrapper, exposing conversion methods to/from Rust bool.
Trait Implementations§
Source§impl Ord for Bool
impl Ord for Bool
Source§impl PartialOrd for Bool
impl PartialOrd for Bool
impl Copy for Bool
impl Eq for Bool
impl StructuralPartialEq for Bool
Auto Trait Implementations§
impl Freeze for Bool
impl RefUnwindSafe for Bool
impl Send for Bool
impl Sync for Bool
impl Unpin for Bool
impl UnwindSafe for Bool
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