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