pub enum Priority {
Merge,
Basic(u32),
Finalize,
Init,
}Expand description
Identify how the client will sort the associated Command.
Variants§
Merge
Indicates two branches in the parent graph have been merged at this
command. A command with this priority must have two parents,
Parent::Merge.
Basic(u32)
Indicates a device-specific action; the runtime uses the internal u32 for ordering.
Finalize
Indicates all preceding commands are ancestors of this command.
Init
Indicates state is initialized; the associated command is a common
ancestor to all other commands in the graph. A command with this
priority must have no parents, Parent::None.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Priority
impl<'de> Deserialize<'de> for Priority
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 Ord for Priority
impl Ord for Priority
Source§impl PartialOrd for Priority
impl PartialOrd for Priority
impl Eq for Priority
impl StructuralPartialEq for Priority
Auto Trait Implementations§
impl Freeze for Priority
impl RefUnwindSafe for Priority
impl Send for Priority
impl Sync for Priority
impl Unpin for Priority
impl UnwindSafe for Priority
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