pub struct SimpleExtensionsTypesItem { /* private fields */ }Implementations§
Source§impl SimpleExtensionsTypesItem
impl SimpleExtensionsTypesItem
pub fn deprecated<T>(self, value: T) -> SimpleExtensionsTypesItemwhere
T: TryInto<Option<DeprecationStatus>>,
<T as TryInto<Option<DeprecationStatus>>>::Error: Display,
pub fn description<T>(self, value: T) -> SimpleExtensionsTypesItem
pub fn metadata<T>(self, value: T) -> SimpleExtensionsTypesItem
pub fn name<T>(self, value: T) -> SimpleExtensionsTypesItem
pub fn parameters<T>(self, value: T) -> SimpleExtensionsTypesItem
pub fn structure<T>(self, value: T) -> SimpleExtensionsTypesItem
pub fn variadic<T>(self, value: T) -> SimpleExtensionsTypesItem
Trait Implementations§
Source§impl Clone for SimpleExtensionsTypesItem
impl Clone for SimpleExtensionsTypesItem
Source§fn clone(&self) -> SimpleExtensionsTypesItem
fn clone(&self) -> SimpleExtensionsTypesItem
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 SimpleExtensionsTypesItem
impl Debug for SimpleExtensionsTypesItem
Source§impl Default for SimpleExtensionsTypesItem
impl Default for SimpleExtensionsTypesItem
Source§fn default() -> SimpleExtensionsTypesItem
fn default() -> SimpleExtensionsTypesItem
Returns the “default value” for a type. Read more
Source§impl From<SimpleExtensionsTypesItem> for SimpleExtensionsTypesItem
impl From<SimpleExtensionsTypesItem> for SimpleExtensionsTypesItem
Source§fn from(value: SimpleExtensionsTypesItem) -> SimpleExtensionsTypesItem
fn from(value: SimpleExtensionsTypesItem) -> SimpleExtensionsTypesItem
Converts to this type from the input type.
Source§impl TryFrom<SimpleExtensionsTypesItem> for SimpleExtensionsTypesItem
impl TryFrom<SimpleExtensionsTypesItem> for SimpleExtensionsTypesItem
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(
value: SimpleExtensionsTypesItem,
) -> Result<SimpleExtensionsTypesItem, ConversionError>
fn try_from( value: SimpleExtensionsTypesItem, ) -> Result<SimpleExtensionsTypesItem, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Forget for SimpleExtensionsTypesItem
impl Freeze for SimpleExtensionsTypesItemwhere
*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<TypeParamDefsItem>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for SimpleExtensionsTypesItem
impl RefUnwindSafe for SimpleExtensionsTypesItem
impl Send for SimpleExtensionsTypesItem
impl Sync for SimpleExtensionsTypesItem
impl Unpin for SimpleExtensionsTypesItem
impl UnsafeUnpin for SimpleExtensionsTypesItemwhere
*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<TypeParamDefsItem>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
impl UnwindSafe for SimpleExtensionsTypesItem
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