pub struct TypeId {
pub ns_id: u16,
pub id: u32,
}
Fields§
§ns_id: u16
§id: u32
Implementations§
source§impl TypeId
impl TypeId
pub fn full_name(self, library: &Library) -> String
pub fn tid_none() -> TypeId
pub fn tid_bool() -> TypeId
pub fn tid_uint32() -> TypeId
pub fn tid_utf8() -> TypeId
pub fn tid_filename() -> TypeId
pub fn tid_os_string() -> TypeId
pub fn tid_c_bool() -> TypeId
pub fn is_basic_type(self, env: &Env) -> bool
Trait Implementations§
source§impl IsIncomplete for TypeId
impl IsIncomplete for TypeId
fn is_incomplete(&self, lib: &Library) -> bool
source§impl Ord for TypeId
impl Ord for TypeId
source§impl PartialOrd for TypeId
impl PartialOrd for TypeId
impl Copy for TypeId
impl Eq for TypeId
impl StructuralPartialEq for TypeId
Auto Trait Implementations§
impl Freeze for TypeId
impl RefUnwindSafe for TypeId
impl Send for TypeId
impl Sync for TypeId
impl Unpin for TypeId
impl UnwindSafe for TypeId
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
source§impl<T> DerivesCopy for Twhere
T: IsIncomplete,
impl<T> DerivesCopy for Twhere
T: IsIncomplete,
fn derives_copy(&self, lib: &Library) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.