pub struct AsmCast<Out, In>(/* private fields */);Expand description
Pseudo-structure that provides the inner type definition
and cast functions for every pair of types used
in C2Rust’s implementation of tied inline assembly operands.
For two tied operands of types In and Out, this
implementation provides the smallest type that can
hold both operands, along with the casts to convert
each operand to this type.
Trait Implementations§
Auto Trait Implementations§
impl<Out, In> Freeze for AsmCast<Out, In>
impl<Out, In> RefUnwindSafe for AsmCast<Out, In>where
Out: RefUnwindSafe,
In: RefUnwindSafe,
impl<Out, In> Send for AsmCast<Out, In>
impl<Out, In> Sync for AsmCast<Out, In>
impl<Out, In> Unpin for AsmCast<Out, In>
impl<Out, In> UnwindSafe for AsmCast<Out, In>where
Out: UnwindSafe,
In: UnwindSafe,
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