pub struct TypeBinary { /* private fields */ }Implementations§
Source§impl TypeBinary
impl TypeBinary
pub fn metadata<T>(self, value: T) -> TypeBinary
pub fn system_metadata<T>(self, value: T) -> TypeBinarywhere
T: TryInto<Option<SystemTypeMetadata>>,
<T as TryInto<Option<SystemTypeMetadata>>>::Error: Display,
pub fn type_<T>(self, value: T) -> TypeBinary
Trait Implementations§
Source§impl Clone for TypeBinary
impl Clone for TypeBinary
Source§fn clone(&self) -> TypeBinary
fn clone(&self) -> TypeBinary
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TypeBinary
impl Debug for TypeBinary
Source§impl Default for TypeBinary
impl Default for TypeBinary
Source§fn default() -> TypeBinary
fn default() -> TypeBinary
Returns the “default value” for a type. Read more
Source§impl From<TypeBinary> for TypeBinary
impl From<TypeBinary> for TypeBinary
Source§fn from(value: TypeBinary) -> TypeBinary
fn from(value: TypeBinary) -> TypeBinary
Converts to this type from the input type.
Source§impl TryFrom<TypeBinary> for TypeBinary
impl TryFrom<TypeBinary> for TypeBinary
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: TypeBinary) -> Result<TypeBinary, ConversionError>
fn try_from(value: TypeBinary) -> Result<TypeBinary, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for TypeBinary
impl Freeze for TypeBinarywhere
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
impl Move for TypeBinary
impl RefUnwindSafe for TypeBinary
impl Send for TypeBinary
impl Sync for TypeBinary
impl Unpin for TypeBinary
impl UnsafeUnpin for TypeBinarywhere
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
impl UnwindSafe for TypeBinary
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