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