pub struct UsedTypeEntity<'a> {
pub ty_source: &'a str,
pub full_path: &'a str,
pub composite_type: Option<&'a str>,
pub variadic: bool,
pub default: Option<&'a str>,
pub optional: bool,
pub metadata: FunctionMetadataTypeEntity<'a>,
}Fields§
§ty_source: &'a str§full_path: &'a str§composite_type: Option<&'a str>§variadic: bool§default: Option<&'a str>§optional: boolSet via the type being an Option.
metadata: FunctionMetadataTypeEntity<'a>Trait Implementations§
Source§impl<'a> Clone for UsedTypeEntity<'a>
impl<'a> Clone for UsedTypeEntity<'a>
Source§fn clone(&self) -> UsedTypeEntity<'a>
fn clone(&self) -> UsedTypeEntity<'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 UsedTypeEntity<'a>
impl<'a> Debug for UsedTypeEntity<'a>
Source§impl<'a> Hash for UsedTypeEntity<'a>
impl<'a> Hash for UsedTypeEntity<'a>
Source§impl<'a> Ord for UsedTypeEntity<'a>
impl<'a> Ord for UsedTypeEntity<'a>
Source§fn cmp(&self, other: &UsedTypeEntity<'a>) -> Ordering
fn cmp(&self, other: &UsedTypeEntity<'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 UsedTypeEntity<'a>
impl<'a> PartialEq for UsedTypeEntity<'a>
Source§impl<'a> PartialOrd for UsedTypeEntity<'a>
impl<'a> PartialOrd for UsedTypeEntity<'a>
Source§impl TypeIdentifiable for UsedTypeEntity<'_>
impl TypeIdentifiable for UsedTypeEntity<'_>
impl<'a> Eq for UsedTypeEntity<'a>
impl<'a> StructuralPartialEq for UsedTypeEntity<'a>
Auto Trait Implementations§
impl<'a> Freeze for UsedTypeEntity<'a>
impl<'a> RefUnwindSafe for UsedTypeEntity<'a>
impl<'a> Send for UsedTypeEntity<'a>
impl<'a> Sync for UsedTypeEntity<'a>
impl<'a> Unpin for UsedTypeEntity<'a>
impl<'a> UnsafeUnpin for UsedTypeEntity<'a>
impl<'a> UnwindSafe for UsedTypeEntity<'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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.