pub enum PushResult {
NotFull,
Full,
}
Expand description
Result type returned from ArrayBuilder::push
, indicating whether the
array is full after the push. ArrayBuilder::push
panics on overflow, so this
only indicates if there is room to push additional elements.
Variants§
Trait Implementations§
Source§impl Clone for PushResult
impl Clone for PushResult
Source§fn clone(&self) -> PushResult
fn clone(&self) -> PushResult
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PushResult
impl Debug for PushResult
Source§impl PartialEq for PushResult
impl PartialEq for PushResult
impl Copy for PushResult
impl Eq for PushResult
impl StructuralPartialEq for PushResult
Auto Trait Implementations§
impl Freeze for PushResult
impl RefUnwindSafe for PushResult
impl Send for PushResult
impl Sync for PushResult
impl Unpin for PushResult
impl UnwindSafe for PushResult
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