Enum rustc_transmute::Answer
source · pub enum Answer<R> {
Yes,
No(Reason),
If(Condition<R>),
}
Expand description
Either transmutation is allowed, we have an error, or we have an optional Condition that must hold.
Variants§
Trait Implementations§
source§impl<R: PartialEq> PartialEq<Answer<R>> for Answer<R>
impl<R: PartialEq> PartialEq<Answer<R>> for Answer<R>
impl<R: Eq> Eq for Answer<R>
impl<R> StructuralEq for Answer<R>
impl<R> StructuralPartialEq for Answer<R>
Auto Trait Implementations§
impl<R> RefUnwindSafe for Answer<R>where R: RefUnwindSafe,
impl<R> Send for Answer<R>where R: Send,
impl<R> Sync for Answer<R>where R: Sync,
impl<R> Unpin for Answer<R>where R: Unpin,
impl<R> UnwindSafe for Answer<R>where R: 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
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.