pub struct UsedTypeEntity {
pub ty_source: &'static str,
pub ty_id: TypeId,
pub full_path: &'static str,
pub module_path: String,
pub composite_type: Option<&'static str>,
pub variadic: bool,
pub default: Option<&'static str>,
pub optional: bool,
pub metadata: FunctionMetadataTypeEntity,
}
Fields§
§ty_source: &'static str
§ty_id: TypeId
§full_path: &'static str
§module_path: String
§composite_type: Option<&'static str>
§variadic: bool
§default: Option<&'static str>
§optional: bool
Set via the type being an Option
.
metadata: FunctionMetadataTypeEntity
Trait Implementations§
Source§impl Clone for UsedTypeEntity
impl Clone for UsedTypeEntity
Source§fn clone(&self) -> UsedTypeEntity
fn clone(&self) -> UsedTypeEntity
Returns a copy 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 Debug for UsedTypeEntity
impl Debug for UsedTypeEntity
Source§impl Hash for UsedTypeEntity
impl Hash for UsedTypeEntity
Source§impl Ord for UsedTypeEntity
impl Ord for UsedTypeEntity
Source§fn cmp(&self, other: &UsedTypeEntity) -> Ordering
fn cmp(&self, other: &UsedTypeEntity) -> 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 PartialEq for UsedTypeEntity
impl PartialEq for UsedTypeEntity
Source§impl PartialOrd for UsedTypeEntity
impl PartialOrd for UsedTypeEntity
Source§impl TypeIdentifiable for UsedTypeEntity
impl TypeIdentifiable for UsedTypeEntity
impl Eq for UsedTypeEntity
impl StructuralPartialEq for UsedTypeEntity
Auto Trait Implementations§
impl Freeze for UsedTypeEntity
impl RefUnwindSafe for UsedTypeEntity
impl Send for UsedTypeEntity
impl Sync for UsedTypeEntity
impl Unpin for UsedTypeEntity
impl UnwindSafe for UsedTypeEntity
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.