pub struct Operator(pub i64);
Tuple Fields§
§0: i64
Implementations§
source§impl Operator
impl Operator
pub const SCREEN: Operator = _
pub const DIFFERENCE: Operator = _
pub const DARKEN: Operator = _
pub const LIGHTEN: Operator = _
pub const OVERLAY: Operator = _
pub const DODGE: Operator = _
pub const BURN: Operator = _
pub const SOFT_LIGHT: Operator = _
pub const HARD_LIGHT: Operator = _
Trait Implementations§
source§impl FromVariant for Operator
impl FromVariant for Operator
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
source§impl Ord for Operator
impl Ord for Operator
source§impl PartialEq<Operator> for Operator
impl PartialEq<Operator> for Operator
source§impl PartialOrd<Operator> for Operator
impl PartialOrd<Operator> for Operator
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Operator
impl Eq for Operator
impl StructuralEq for Operator
impl StructuralPartialEq for Operator
Auto Trait Implementations§
impl RefUnwindSafe for Operator
impl Send for Operator
impl Sync for Operator
impl Unpin for Operator
impl UnwindSafe for Operator
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.