Enum gear_core::gas::ChargeResult
source · pub enum ChargeResult {
Enough,
NotEnough,
}Expand description
The result of charging gas.
Variants§
Enough
There was enough gas and it has been charged.
NotEnough
There was not enough gas and it hasn’t been charged.
Trait Implementations§
source§impl Clone for ChargeResult
impl Clone for ChargeResult
source§fn clone(&self) -> ChargeResult
fn clone(&self) -> ChargeResult
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 ChargeResult
impl Debug for ChargeResult
source§impl PartialEq<ChargeResult> for ChargeResult
impl PartialEq<ChargeResult> for ChargeResult
source§fn eq(&self, other: &ChargeResult) -> bool
fn eq(&self, other: &ChargeResult) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for ChargeResult
impl Eq for ChargeResult
impl StructuralEq for ChargeResult
impl StructuralPartialEq for ChargeResult
Auto Trait Implementations§
impl RefUnwindSafe for ChargeResult
impl Send for ChargeResult
impl Sync for ChargeResult
impl Unpin for ChargeResult
impl UnwindSafe for ChargeResult
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