pub enum CostModelKind {
Simple(CostModelRef),
Full(CacheModel),
}Variants§
Simple(CostModelRef)
Full(CacheModel)
Trait Implementations§
Source§impl Clone for CostModelKind
impl Clone for CostModelKind
Source§fn clone(&self) -> CostModelKind
fn clone(&self) -> CostModelKind
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 From<CostModelRef> for CostModelKind
impl From<CostModelRef> for CostModelKind
Source§fn from(cost_model: CostModelRef) -> CostModelKind
fn from(cost_model: CostModelRef) -> CostModelKind
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CostModelKind
impl RefUnwindSafe for CostModelKind
impl Send for CostModelKind
impl Sync for CostModelKind
impl Unpin for CostModelKind
impl UnwindSafe for CostModelKind
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