Struct chandeliers_err::error::BoolRequired
source · pub struct BoolRequired<Type, Site, Inner> {
pub actual: Type,
pub site: Site,
pub inner: Inner,
}Expand description
Generate an error for something that should have been a bool but isn’t,
e.g. if 1 then 0 else 1.
Fields§
§actual: TypeType that was found (should have been bool).
site: SiteLocation of the error.
inner: InnerLocation of the inner contents.
Trait Implementations§
Auto Trait Implementations§
impl<Type, Site, Inner> RefUnwindSafe for BoolRequired<Type, Site, Inner>where Inner: RefUnwindSafe, Site: RefUnwindSafe, Type: RefUnwindSafe,
impl<Type, Site, Inner> Send for BoolRequired<Type, Site, Inner>where Inner: Send, Site: Send, Type: Send,
impl<Type, Site, Inner> Sync for BoolRequired<Type, Site, Inner>where Inner: Sync, Site: Sync, Type: Sync,
impl<Type, Site, Inner> Unpin for BoolRequired<Type, Site, Inner>where Inner: Unpin, Site: Unpin, Type: Unpin,
impl<Type, Site, Inner> UnwindSafe for BoolRequired<Type, Site, Inner>where Inner: UnwindSafe, Site: UnwindSafe, Type: 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