pub struct OperatorCapability {
pub op: Op,
pub constraints: OperatorConstraints,
}Expand description
One implemented operator and the conservative restrictions a scheduler must preserve.
Fields§
§op: Op§constraints: OperatorConstraintsImplementations§
Source§impl OperatorCapability
impl OperatorCapability
pub const fn new(op: Op) -> Self
pub const fn constrained(op: Op, constraints: OperatorConstraints) -> Self
Trait Implementations§
Source§impl Clone for OperatorCapability
impl Clone for OperatorCapability
Source§fn clone(&self) -> OperatorCapability
fn clone(&self) -> OperatorCapability
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 moreimpl Copy for OperatorCapability
Source§impl Debug for OperatorCapability
impl Debug for OperatorCapability
impl Eq for OperatorCapability
Source§impl PartialEq for OperatorCapability
impl PartialEq for OperatorCapability
Source§fn eq(&self, other: &OperatorCapability) -> bool
fn eq(&self, other: &OperatorCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OperatorCapability
Auto Trait Implementations§
impl Freeze for OperatorCapability
impl RefUnwindSafe for OperatorCapability
impl Send for OperatorCapability
impl Sync for OperatorCapability
impl Unpin for OperatorCapability
impl UnsafeUnpin for OperatorCapability
impl UnwindSafe for OperatorCapability
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