Struct chandeliers_err::UnopMismatch
source · pub struct UnopMismatch<Oper, Expect, Site, Inner> {
pub oper: Oper,
pub expect: Expect,
pub site: Site,
pub inner: Inner,
}Expand description
Generate an error for a unary operator that expected an argument of a specific type.
Fields§
§oper: OperDescription of the operator.
expect: ExpectWhat the operator expects.
site: SiteLocation of the error.
inner: InnerInvalid expression and span.
Trait Implementations§
Auto Trait Implementations§
impl<Oper, Expect, Site, Inner> RefUnwindSafe for UnopMismatch<Oper, Expect, Site, Inner>where Expect: RefUnwindSafe, Inner: RefUnwindSafe, Oper: RefUnwindSafe, Site: RefUnwindSafe,
impl<Oper, Expect, Site, Inner> Send for UnopMismatch<Oper, Expect, Site, Inner>where Expect: Send, Inner: Send, Oper: Send, Site: Send,
impl<Oper, Expect, Site, Inner> Sync for UnopMismatch<Oper, Expect, Site, Inner>where Expect: Sync, Inner: Sync, Oper: Sync, Site: Sync,
impl<Oper, Expect, Site, Inner> Unpin for UnopMismatch<Oper, Expect, Site, Inner>where Expect: Unpin, Inner: Unpin, Oper: Unpin, Site: Unpin,
impl<Oper, Expect, Site, Inner> UnwindSafe for UnopMismatch<Oper, Expect, Site, Inner>where Expect: UnwindSafe, Inner: UnwindSafe, Oper: UnwindSafe, Site: UnwindSafe,
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