pub enum BuildInMeta {
Show 16 variants
U8,
U16,
U32,
U64,
U128,
Usize,
I8,
I16,
I32,
I64,
I128,
Isize,
F32,
F64,
Bool,
String,
}
Expand description
Union that defined the build in types of the rust language or custom defined types.
Variants§
Implementations§
Source§impl BuildInMeta
impl BuildInMeta
Sourcepub fn as_absolute_path(&self) -> &'static str
pub fn as_absolute_path(&self) -> &'static str
Return the absolute path of the build in type as &str.
Sourcepub fn ident_path(&self) -> IdentPath
pub fn ident_path(&self) -> IdentPath
Return the relative IdentPath
of the build-in type.
Sourcepub fn absolute_ident_path(&self) -> IdentPath
pub fn absolute_ident_path(&self) -> IdentPath
Return the absolute IdentPath
of the build-in type.
Trait Implementations§
Source§impl Clone for BuildInMeta
impl Clone for BuildInMeta
Source§fn clone(&self) -> BuildInMeta
fn clone(&self) -> BuildInMeta
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 Debug for BuildInMeta
impl Debug for BuildInMeta
Source§impl Display for BuildInMeta
impl Display for BuildInMeta
Source§impl From<BuildInMeta> for MetaType
impl From<BuildInMeta> for MetaType
Source§fn from(value: BuildInMeta) -> Self
fn from(value: BuildInMeta) -> Self
Converts to this type from the input type.
Source§impl Hash for BuildInMeta
impl Hash for BuildInMeta
Source§impl PartialEq for BuildInMeta
impl PartialEq for BuildInMeta
impl Eq for BuildInMeta
impl StructuralPartialEq for BuildInMeta
Auto Trait Implementations§
impl Freeze for BuildInMeta
impl RefUnwindSafe for BuildInMeta
impl Send for BuildInMeta
impl Sync for BuildInMeta
impl Unpin for BuildInMeta
impl UnwindSafe for BuildInMeta
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> 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.