[−][src]Enum ni::common::BinOp
Variants
Implementations
impl BinOp
[src]
pub fn new(x: Operand, y: Operand) -> Self
[src]
pub fn with_first(self, offset: Operand) -> Self
[src]
pub fn with_second(self, offset: Operand) -> Self
[src]
pub fn with_both(self, offset: Operand) -> Self
[src]
pub fn variant(&self) -> Variant
[src]
Trait Implementations
impl Clone for BinOp
[src]
impl Copy for BinOp
[src]
impl Debug for BinOp
[src]
impl Decode<Variant> for BinOp
[src]
type Err = DecodeError
fn decode<R>(bytes: &mut R, var: Variant) -> Result<Self, Self::Err> where
R: Read,
[src]
R: Read,
impl Encode for BinOp
[src]
type Err = EncodeError
fn encode<W>(&self, buf: &mut W) -> Result<(), Self::Err> where
W: Write,
[src]
W: Write,
impl Eq for BinOp
[src]
impl PartialEq<BinOp> for BinOp
[src]
impl StructuralEq for BinOp
[src]
impl StructuralPartialEq for BinOp
[src]
Auto Trait Implementations
impl RefUnwindSafe for BinOp
impl Send for BinOp
impl Sync for BinOp
impl Unpin for BinOp
impl UnwindSafe for BinOp
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,