pub struct TlAssert<T>(_);Implementations
sourceimpl<'a, T> TlAssert<T> where
T: TlWrite,
impl<'a, T> TlAssert<T> where
T: TlWrite,
pub const BOXED_WRITE: () = if !T::TL_WRITE_BOXED { panic!("Type must be boxed for write") }
pub const NOT_BOXED_WRITE: () = if T::TL_WRITE_BOXED { panic!("Type must be bare for write") }
sourceimpl<'a, T> TlAssert<T> where
T: TlRead<'a>,
impl<'a, T> TlAssert<T> where
T: TlRead<'a>,
pub const BOXED_READ: () = if !T::TL_READ_BOXED { panic!("Type must be boxed for read") }
pub const NOT_BOXED_READ: () = if T::TL_READ_BOXED { panic!("Type must be bare for read") }
Auto Trait Implementations
impl<T> RefUnwindSafe for TlAssert<T> where
T: RefUnwindSafe,
impl<T> Send for TlAssert<T> where
T: Send,
impl<T> Sync for TlAssert<T> where
T: Sync,
impl<T> Unpin for TlAssert<T> where
T: Unpin,
impl<T> UnwindSafe for TlAssert<T> where
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more