Struct c2rust_asm_casts::AsmCast
source · pub struct AsmCast<Out, In>(_);
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> RefUnwindSafe for AsmCast<Out, In>where In: RefUnwindSafe, Out: RefUnwindSafe,
impl<Out, In> Send for AsmCast<Out, In>where In: Send, Out: Send,
impl<Out, In> Sync for AsmCast<Out, In>where In: Sync, Out: Sync,
impl<Out, In> Unpin for AsmCast<Out, In>where In: Unpin, Out: Unpin,
impl<Out, In> UnwindSafe for AsmCast<Out, In>where In: UnwindSafe, Out: 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