pub struct Or<A, B>(/* private fields */);Expand description
The policy or returns: allows what either side allows.
Implementations§
Trait Implementations§
impl<A: Copy, B: Copy> Copy for Or<A, B>
Auto Trait Implementations§
impl<A, B> Freeze for Or<A, B>
impl<A, B> RefUnwindSafe for Or<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Or<A, B>
impl<A, B> Sync for Or<A, B>
impl<A, B> Unpin for Or<A, B>
impl<A, B> UnsafeUnpin for Or<A, B>where
A: UnsafeUnpin,
B: UnsafeUnpin,
impl<A, B> UnwindSafe for Or<A, B>where
A: UnwindSafe,
B: 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