pub enum Synchronization {
SyncCube,
SyncPlane,
SyncStorage,
SyncProxyShared,
}
Expand description
All synchronization types.
Variants§
Trait Implementations§
Source§impl Clone for Synchronization
impl Clone for Synchronization
Source§fn clone(&self) -> Synchronization
fn clone(&self) -> Synchronization
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 Synchronization
impl Debug for Synchronization
Source§impl<'de> Deserialize<'de> for Synchronization
impl<'de> Deserialize<'de> for Synchronization
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 Display for Synchronization
impl Display for Synchronization
Source§impl From<<Synchronization as OperationReflect>::OpCode> for OpCode
impl From<<Synchronization as OperationReflect>::OpCode> for OpCode
Source§fn from(value: <Synchronization as OperationReflect>::OpCode) -> Self
fn from(value: <Synchronization as OperationReflect>::OpCode) -> Self
Converts to this type from the input type.
Source§impl From<Synchronization> for Instruction
impl From<Synchronization> for Instruction
Source§fn from(value: Synchronization) -> Self
fn from(value: Synchronization) -> Self
Converts to this type from the input type.
Source§impl From<Synchronization> for Operation
impl From<Synchronization> for Operation
Source§fn from(value: Synchronization) -> Self
fn from(value: Synchronization) -> Self
Converts to this type from the input type.
Source§impl Hash for Synchronization
impl Hash for Synchronization
Source§impl OperationReflect for Synchronization
impl OperationReflect for Synchronization
Source§type OpCode = SyncOpCode
type OpCode = SyncOpCode
Type of the op codes for this operation
Source§fn args(&self) -> Option<Vec<Variable>>
fn args(&self) -> Option<Vec<Variable>>
Get the list of arguments for this operation. If not all arguments are
Variable
, returns
None
instead.Source§fn from_code_and_args(op_code: Self::OpCode, args: &[Variable]) -> Option<Self>
fn from_code_and_args(op_code: Self::OpCode, args: &[Variable]) -> Option<Self>
Create typed operation from an opcode and a list of arguments. Returns
None
if not all
arguments are Variable
.Source§fn is_commutative(&self) -> bool
fn is_commutative(&self) -> bool
Whether this operation is commutative (arguments can be freely reordered). Ignored for
single argument operations.
Source§impl PartialEq for Synchronization
impl PartialEq for Synchronization
Source§impl Serialize for Synchronization
impl Serialize for Synchronization
Source§impl TypeHash for Synchronization
impl TypeHash for Synchronization
impl Eq for Synchronization
impl StructuralPartialEq for Synchronization
Auto Trait Implementations§
impl Freeze for Synchronization
impl RefUnwindSafe for Synchronization
impl Send for Synchronization
impl Sync for Synchronization
impl Unpin for Synchronization
impl UnwindSafe for Synchronization
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.