pub struct PushedVal;Expand description
Represents a pushed value that has been dropped.
Some collections may refuse to push a value for a variety of different reasons. These
collections will return Some(PushedVal) to represent that, even though the pushed value was
dropped, it was “pushed out” instead of being pushed.
Trait Implementations§
Source§impl Ord for PushedVal
impl Ord for PushedVal
Source§impl PartialOrd for PushedVal
impl PartialOrd for PushedVal
impl Copy for PushedVal
impl Eq for PushedVal
impl StructuralPartialEq for PushedVal
Auto Trait Implementations§
impl Freeze for PushedVal
impl RefUnwindSafe for PushedVal
impl Send for PushedVal
impl Sync for PushedVal
impl Unpin for PushedVal
impl UnwindSafe for PushedVal
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