Enum wit_bindgen_rust_lib::TypeMode
source · pub enum TypeMode {
Owned,
AllBorrowed(&'static str),
LeafBorrowed(&'static str),
HandlesBorrowed(&'static str),
}
Variants§
Trait Implementations§
source§impl PartialEq<TypeMode> for TypeMode
impl PartialEq<TypeMode> for TypeMode
impl Copy for TypeMode
impl StructuralPartialEq for TypeMode
Auto Trait Implementations§
impl RefUnwindSafe for TypeMode
impl Send for TypeMode
impl Sync for TypeMode
impl Unpin for TypeMode
impl UnwindSafe for TypeMode
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