pub enum OperatorSize {
Unary,
Binary,
}Expand description
Size of the operator
Variants§
Trait Implementations§
Source§impl Clone for OperatorSize
impl Clone for OperatorSize
Source§fn clone(&self) -> OperatorSize
fn clone(&self) -> OperatorSize
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OperatorSize
Source§impl Debug for OperatorSize
impl Debug for OperatorSize
Source§impl PartialEq for OperatorSize
impl PartialEq for OperatorSize
Source§fn eq(&self, other: &OperatorSize) -> bool
fn eq(&self, other: &OperatorSize) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OperatorSize
Auto Trait Implementations§
impl Freeze for OperatorSize
impl RefUnwindSafe for OperatorSize
impl Send for OperatorSize
impl Sync for OperatorSize
impl Unpin for OperatorSize
impl UnsafeUnpin for OperatorSize
impl UnwindSafe for OperatorSize
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