pub struct Bool(/* private fields */);
Implementations§
Trait Implementations§
Source§impl Entity for Bool
impl Entity for Bool
const NAME: &'static str = "Bool"
type Builder = BoolBuilder
fn new_unchecked(data: Bytes) -> Bool
fn as_bytes(&self) -> Bytes
fn as_slice(&self) -> &[u8] ⓘ
fn from_slice(slice: &[u8]) -> Result<Bool, VerificationError>
fn from_compatible_slice(slice: &[u8]) -> Result<Bool, VerificationError>
fn new_builder() -> <Bool as Entity>::Builder
fn as_builder(self) -> <Bool as Entity>::Builder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)