Struct objc2_app_kit::NSCompositingOperation
source · #[repr(transparent)]pub struct NSCompositingOperation(pub NSUInteger);
Available on crate feature
NSGraphics
only.Tuple Fields§
§0: NSUInteger
Implementations§
source§impl NSCompositingOperation
impl NSCompositingOperation
pub const Clear: Self = _
pub const Copy: Self = _
pub const SourceOver: Self = _
pub const SourceIn: Self = _
pub const SourceOut: Self = _
pub const SourceAtop: Self = _
pub const DestinationOver: Self = _
pub const DestinationIn: Self = _
pub const DestinationOut: Self = _
pub const DestinationAtop: Self = _
pub const XOR: Self = _
pub const PlusDarker: Self = _
pub const Highlight: Self = _
👎Deprecated: Use NSCompositingOperationSourceOver instead
pub const PlusLighter: Self = _
pub const Multiply: Self = _
pub const Screen: Self = _
pub const Overlay: Self = _
pub const Darken: Self = _
pub const Lighten: Self = _
pub const ColorDodge: Self = _
pub const ColorBurn: Self = _
pub const SoftLight: Self = _
pub const HardLight: Self = _
pub const Difference: Self = _
pub const Exclusion: Self = _
pub const Hue: Self = _
pub const Saturation: Self = _
pub const Color: Self = _
pub const Luminosity: Self = _
Trait Implementations§
source§impl Clone for NSCompositingOperation
impl Clone for NSCompositingOperation
source§fn clone(&self) -> NSCompositingOperation
fn clone(&self) -> NSCompositingOperation
Returns a copy 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 NSCompositingOperation
impl Debug for NSCompositingOperation
source§impl Encode for NSCompositingOperation
impl Encode for NSCompositingOperation
source§impl Hash for NSCompositingOperation
impl Hash for NSCompositingOperation
source§impl Ord for NSCompositingOperation
impl Ord for NSCompositingOperation
source§fn cmp(&self, other: &NSCompositingOperation) -> Ordering
fn cmp(&self, other: &NSCompositingOperation) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for NSCompositingOperation
impl PartialEq for NSCompositingOperation
source§fn eq(&self, other: &NSCompositingOperation) -> bool
fn eq(&self, other: &NSCompositingOperation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NSCompositingOperation
impl PartialOrd for NSCompositingOperation
source§fn partial_cmp(&self, other: &NSCompositingOperation) -> Option<Ordering>
fn partial_cmp(&self, other: &NSCompositingOperation) -> Option<Ordering>
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 moresource§impl RefEncode for NSCompositingOperation
impl RefEncode for NSCompositingOperation
source§const ENCODING_REF: Encoding = _
const ENCODING_REF: Encoding = _
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for NSCompositingOperation
impl Eq for NSCompositingOperation
impl StructuralPartialEq for NSCompositingOperation
Auto Trait Implementations§
impl Freeze for NSCompositingOperation
impl RefUnwindSafe for NSCompositingOperation
impl Send for NSCompositingOperation
impl Sync for NSCompositingOperation
impl Unpin for NSCompositingOperation
impl UnwindSafe for NSCompositingOperation
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> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.