#[repr(C)]pub enum CostMethod {
AnalyticalBackend = 0,
Unknown = 1,
}Expand description
Methods used for estimating transfer costs
Variants§
Trait Implementations§
Source§impl Clone for CostMethod
impl Clone for CostMethod
Source§fn clone(&self) -> CostMethod
fn clone(&self) -> CostMethod
Returns a duplicate 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 CostMethod
impl Debug for CostMethod
Source§impl From<u32> for CostMethod
impl From<u32> for CostMethod
Source§impl PartialEq for CostMethod
impl PartialEq for CostMethod
impl Copy for CostMethod
impl StructuralPartialEq for CostMethod
Auto Trait Implementations§
impl Freeze for CostMethod
impl RefUnwindSafe for CostMethod
impl Send for CostMethod
impl Sync for CostMethod
impl Unpin for CostMethod
impl UnwindSafe for CostMethod
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