pub struct BinopMismatch<Oper, Site, Expect, Left, Right> {
    pub oper: Oper,
    pub site: Site,
    pub expect: Expect,
    pub left: Left,
    pub right: Right,
}

Fields§

§oper: Oper§site: Site§expect: Expect§left: Left§right: Right

Trait Implementations§

source§

impl<Oper, Site, Expect, Left, Right> IntoError for BinopMismatch<Oper, Site, Expect, Left, Right>where Oper: Display, Site: TrySpan, Expect: Display, Left: Display + TrySpan, Right: Display + TrySpan,

Auto Trait Implementations§

§

impl<Oper, Site, Expect, Left, Right> RefUnwindSafe for BinopMismatch<Oper, Site, Expect, Left, Right>where Expect: RefUnwindSafe, Left: RefUnwindSafe, Oper: RefUnwindSafe, Right: RefUnwindSafe, Site: RefUnwindSafe,

§

impl<Oper, Site, Expect, Left, Right> Send for BinopMismatch<Oper, Site, Expect, Left, Right>where Expect: Send, Left: Send, Oper: Send, Right: Send, Site: Send,

§

impl<Oper, Site, Expect, Left, Right> Sync for BinopMismatch<Oper, Site, Expect, Left, Right>where Expect: Sync, Left: Sync, Oper: Sync, Right: Sync, Site: Sync,

§

impl<Oper, Site, Expect, Left, Right> Unpin for BinopMismatch<Oper, Site, Expect, Left, Right>where Expect: Unpin, Left: Unpin, Oper: Unpin, Right: Unpin, Site: Unpin,

§

impl<Oper, Site, Expect, Left, Right> UnwindSafe for BinopMismatch<Oper, Site, Expect, Left, Right>where Expect: UnwindSafe, Left: UnwindSafe, Oper: UnwindSafe, Right: UnwindSafe, Site: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

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

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.