pub struct CostModelRef { /* private fields */ }Implementations§
Source§impl CostModelRef
impl CostModelRef
pub const fn from_static(cost_model: &'static CostModel) -> Self
Trait Implementations§
Source§impl Clone for CostModelRef
impl Clone for CostModelRef
Source§fn clone(&self) -> CostModelRef
fn clone(&self) -> CostModelRef
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 Deref for CostModelRef
impl Deref for CostModelRef
Source§impl From<&'static CostModel> for CostModelRef
impl From<&'static CostModel> for CostModelRef
Source§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.
impl Send for CostModelRef
impl Sync for CostModelRef
Auto Trait Implementations§
impl Freeze for CostModelRef
impl RefUnwindSafe for CostModelRef
impl Unpin for CostModelRef
impl UnwindSafe for CostModelRef
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