#[repr(u32)]pub enum AtomCopyOpt {
Reference = 0,
Copy = 1,
AlreadyExisting = 2,
}Expand description
Copy options for atom insertion
Variants§
Reference = 0
Reference existing data (caller must ensure lifetime)
Copy = 1
Copy atom data into table-owned memory
AlreadyExisting = 2
Check if atom already exists, don’t create
Auto Trait Implementations§
impl Freeze for AtomCopyOpt
impl RefUnwindSafe for AtomCopyOpt
impl Send for AtomCopyOpt
impl Sync for AtomCopyOpt
impl Unpin for AtomCopyOpt
impl UnwindSafe for AtomCopyOpt
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