pub enum TypeStrategy {
Conservative,
Aggressive,
ZeroCopy,
AlwaysOwned,
}Variants§
Trait Implementations§
Source§impl Clone for TypeStrategy
impl Clone for TypeStrategy
Source§fn clone(&self) -> TypeStrategy
fn clone(&self) -> TypeStrategy
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 TypeStrategy
impl Debug for TypeStrategy
Source§impl<'de> Deserialize<'de> for TypeStrategy
impl<'de> Deserialize<'de> for TypeStrategy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TypeStrategy
impl PartialEq for TypeStrategy
Source§impl Serialize for TypeStrategy
impl Serialize for TypeStrategy
impl Eq for TypeStrategy
impl StructuralPartialEq for TypeStrategy
Auto Trait Implementations§
impl Freeze for TypeStrategy
impl RefUnwindSafe for TypeStrategy
impl Send for TypeStrategy
impl Sync for TypeStrategy
impl Unpin for TypeStrategy
impl UnwindSafe for TypeStrategy
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