#[repr(C)]pub struct InsertionBehavior {
pub value: u8,
}Expand description
Fields§
§value: u8Implementations§
Source§impl InsertionBehavior
impl InsertionBehavior
pub fn none() -> Self
pub fn overwrite_existing() -> Self
pub fn throw_on_existing() -> Self
Trait Implementations§
Source§impl ClassIdentity for InsertionBehavior
impl ClassIdentity for InsertionBehavior
Source§impl Clone for InsertionBehavior
impl Clone for InsertionBehavior
Source§fn clone(&self) -> InsertionBehavior
fn clone(&self) -> InsertionBehavior
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for InsertionBehavior
impl Debug for InsertionBehavior
Source§impl PartialEq for InsertionBehavior
impl PartialEq for InsertionBehavior
impl Copy for InsertionBehavior
impl Eq for InsertionBehavior
impl StructuralPartialEq for InsertionBehavior
Auto Trait Implementations§
impl Freeze for InsertionBehavior
impl RefUnwindSafe for InsertionBehavior
impl Send for InsertionBehavior
impl Sync for InsertionBehavior
impl Unpin for InsertionBehavior
impl UnwindSafe for InsertionBehavior
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)