pub enum AliasPolicy {
NoAlias,
MayAlias {
tensor_index: u32,
},
MustAlias {
tensor_index: u32,
},
}Variants§
Trait Implementations§
Source§impl Clone for AliasPolicy
impl Clone for AliasPolicy
Source§fn clone(&self) -> AliasPolicy
fn clone(&self) -> AliasPolicy
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AliasPolicy
impl Debug for AliasPolicy
Source§impl<'de> Deserialize<'de> for AliasPolicy
impl<'de> Deserialize<'de> for AliasPolicy
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
impl Eq for AliasPolicy
Source§impl PartialEq for AliasPolicy
impl PartialEq for AliasPolicy
Source§impl Serialize for AliasPolicy
impl Serialize for AliasPolicy
impl StructuralPartialEq for AliasPolicy
Auto Trait Implementations§
impl Freeze for AliasPolicy
impl RefUnwindSafe for AliasPolicy
impl Send for AliasPolicy
impl Sync for AliasPolicy
impl Unpin for AliasPolicy
impl UnsafeUnpin for AliasPolicy
impl UnwindSafe for AliasPolicy
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