pub struct Type<T> { /* private fields */ }
Expand description
Represents a C type statically associated with a Rust type.
In particular, the run-time value describes a particular C type,
while the type parameter T
is the equivalent Rust type.
Instances of this type are created via the
CType
trait.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Type<T>
impl<T> RefUnwindSafe for Type<T>where
T: RefUnwindSafe,
impl<T> !Send for Type<T>
impl<T> !Sync for Type<T>
impl<T> Unpin for Type<T>
impl<T> UnwindSafe for Type<T>where
T: RefUnwindSafe,
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