pub struct LogicOp(/* private fields */);
Expand description
Implementations§
source§impl LogicOp
impl LogicOp
pub const CLEAR: LogicOp = _
pub const AND: LogicOp = _
pub const AND_REVERSE: LogicOp = _
pub const COPY: LogicOp = _
pub const AND_INVERTED: LogicOp = _
pub const NO_OP: LogicOp = _
pub const XOR: LogicOp = _
pub const OR: LogicOp = _
pub const NOR: LogicOp = _
pub const EQUIVALENT: LogicOp = _
pub const INVERT: LogicOp = _
pub const OR_REVERSE: LogicOp = _
pub const COPY_INVERTED: LogicOp = _
pub const OR_INVERTED: LogicOp = _
pub const NAND: LogicOp = _
pub const SET: LogicOp = _
Trait Implementations§
source§impl Ord for LogicOp
impl Ord for LogicOp
source§impl PartialEq for LogicOp
impl PartialEq for LogicOp
source§impl PartialOrd for LogicOp
impl PartialOrd for LogicOp
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 LogicOp
impl Eq for LogicOp
impl StructuralPartialEq for LogicOp
Auto Trait Implementations§
impl Freeze for LogicOp
impl RefUnwindSafe for LogicOp
impl Send for LogicOp
impl Sync for LogicOp
impl Unpin for LogicOp
impl UnwindSafe for LogicOp
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> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.