pub struct Type<'a> { /* private fields */ }
Expand description
A writer to write out a type, or a sequence of types.
Implementations§
Source§impl Type<'_>
impl Type<'_>
pub fn s8(&mut self)
pub fn s16(&mut self)
pub fn s32(&mut self)
pub fn s64(&mut self)
pub fn u8(&mut self)
pub fn u16(&mut self)
pub fn u32(&mut self)
pub fn u64(&mut self)
pub fn f32(&mut self)
pub fn f64(&mut self)
pub fn string(&mut self)
pub fn externref(&mut self)
pub fn i32(&mut self)
pub fn i64(&mut self)
Auto Trait Implementations§
impl<'a> Freeze for Type<'a>
impl<'a> RefUnwindSafe for Type<'a>
impl<'a> Send for Type<'a>
impl<'a> Sync for Type<'a>
impl<'a> Unpin for Type<'a>
impl<'a> !UnwindSafe for Type<'a>
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