pub struct PrimitiveType<'a> {
pub primitive: &'a str,
pub boxed: &'a str,
}Fields§
§primitive: &'a str§boxed: &'a strImplementations§
Trait Implementations§
Source§impl<'a> Clone for PrimitiveType<'a>
impl<'a> Clone for PrimitiveType<'a>
Source§fn clone(&self) -> PrimitiveType<'a>
fn clone(&self) -> PrimitiveType<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for PrimitiveType<'a>
impl<'a> Debug for PrimitiveType<'a>
Source§impl From<PrimitiveType<'static>> for Type
Implementation for PrimitiveType to Type conversion.
impl From<PrimitiveType<'static>> for Type
Implementation for PrimitiveType to Type conversion.
Source§fn from(value: PrimitiveType<'static>) -> Type
fn from(value: PrimitiveType<'static>) -> Type
Converts to this type from the input type.
Source§impl<'a> Hash for PrimitiveType<'a>
impl<'a> Hash for PrimitiveType<'a>
Source§impl<'a> Ord for PrimitiveType<'a>
impl<'a> Ord for PrimitiveType<'a>
Source§fn cmp(&self, other: &PrimitiveType<'a>) -> Ordering
fn cmp(&self, other: &PrimitiveType<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialEq for PrimitiveType<'a>
impl<'a> PartialEq for PrimitiveType<'a>
Source§impl<'a> PartialOrd for PrimitiveType<'a>
impl<'a> PartialOrd for PrimitiveType<'a>
impl<'a> Eq for PrimitiveType<'a>
impl<'a> StructuralPartialEq for PrimitiveType<'a>
Auto Trait Implementations§
impl<'a> Freeze for PrimitiveType<'a>
impl<'a> RefUnwindSafe for PrimitiveType<'a>
impl<'a> Send for PrimitiveType<'a>
impl<'a> Sync for PrimitiveType<'a>
impl<'a> Unpin for PrimitiveType<'a>
impl<'a> UnwindSafe for PrimitiveType<'a>
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