Enum bedrock::LogicOp
[−]
[src]
#[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 Debug for LogicOp
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for LogicOp
[src]
fn clone(&self) -> LogicOp
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for LogicOp
[src]
impl PartialEq for LogicOp
[src]
fn eq(&self, __arg_0: &LogicOp) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.