pub struct TypeId<'c> { /* private fields */ }
Expand description
A type ID.
Implementations§
source§impl TypeId<'_>
impl TypeId<'_>
sourcepub const unsafe fn from_raw(raw: MlirTypeID) -> Self
pub const unsafe fn from_raw(raw: MlirTypeID) -> Self
sourcepub const fn to_raw(self) -> MlirTypeID
pub const fn to_raw(self) -> MlirTypeID
Converts a type ID into a raw object.
Trait Implementations§
source§impl PartialEq for TypeId<'_>
impl PartialEq for TypeId<'_>
impl<'c> Copy for TypeId<'c>
impl Eq for TypeId<'_>
Auto Trait Implementations§
impl<'c> RefUnwindSafe for TypeId<'c>
impl<'c> !Send for TypeId<'c>
impl<'c> !Sync for TypeId<'c>
impl<'c> Unpin for TypeId<'c>
impl<'c> UnwindSafe for TypeId<'c>
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