pub enum TransferOwnership {
None,
Container,
Full,
}
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TransferOwnership
impl Clone for TransferOwnership
Source§fn clone(&self) -> TransferOwnership
fn clone(&self) -> TransferOwnership
Returns a copy 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 TransferOwnership
impl Debug for TransferOwnership
Source§impl Ord for TransferOwnership
impl Ord for TransferOwnership
Source§fn cmp(&self, other: &TransferOwnership) -> Ordering
fn cmp(&self, other: &TransferOwnership) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TransferOwnership
impl PartialEq for TransferOwnership
Source§impl PartialOrd for TransferOwnership
impl PartialOrd for TransferOwnership
Source§impl XmlValue for TransferOwnership
impl XmlValue for TransferOwnership
impl Copy for TransferOwnership
impl Eq for TransferOwnership
impl StructuralPartialEq for TransferOwnership
Auto Trait Implementations§
impl Freeze for TransferOwnership
impl RefUnwindSafe for TransferOwnership
impl Send for TransferOwnership
impl Sync for TransferOwnership
impl Unpin for TransferOwnership
impl UnwindSafe for TransferOwnership
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)