[][src]Enum bedrock::LogicOp

#[repr(C)]
pub enum LogicOp {
    Clear,
    And,
    AndReverse,
    Copy,
    AndInverted,
    NoOp,
    Xor,
    Or,
    Nor,
    Equivalent,
    Invert,
    OrReverse,
    CopyInverted,
    OrInverted,
    Nand,
    Set,
}

Framebuffer logical operations

Variants

Clear

0

And

source & dest

AndReverse

source & ~dest

Copy

source

AndInverted

~source & dest

NoOp

dest

Xor

source ^ dest

Or

source | dest

Nor

~(source | dest)

Equivalent

~(source ^ dest)

Invert

~dest

OrReverse

source | ~dest

CopyInverted

~source

OrInverted

~source | dest

Nand

~(source & dest)

Set

1

Trait Implementations

impl Clone for LogicOp[src]

impl Copy for LogicOp[src]

impl Debug for LogicOp[src]

impl Eq for LogicOp[src]

impl PartialEq<LogicOp> for LogicOp[src]

impl StructuralEq for LogicOp[src]

impl StructuralPartialEq for LogicOp[src]

Auto Trait Implementations

impl RefUnwindSafe for LogicOp

impl Send for LogicOp

impl Sync for LogicOp

impl Unpin for LogicOp

impl UnwindSafe for LogicOp

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.