pub enum FfiLifetime {
Static,
ScopedToCall,
CallerManaged,
LibraryManaged,
RefCounted,
}Expand description
FFI object lifetime kind
Variants§
Trait Implementations§
Source§impl Clone for FfiLifetime
impl Clone for FfiLifetime
Source§fn clone(&self) -> FfiLifetime
fn clone(&self) -> FfiLifetime
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FfiLifetime
impl Debug for FfiLifetime
Source§impl Display for FfiLifetime
impl Display for FfiLifetime
Source§impl PartialEq for FfiLifetime
impl PartialEq for FfiLifetime
impl Eq for FfiLifetime
impl StructuralPartialEq for FfiLifetime
Auto Trait Implementations§
impl Freeze for FfiLifetime
impl RefUnwindSafe for FfiLifetime
impl Send for FfiLifetime
impl Sync for FfiLifetime
impl Unpin for FfiLifetime
impl UnsafeUnpin for FfiLifetime
impl UnwindSafe for FfiLifetime
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