Struct wfc::PatternWeight
source · pub struct PatternWeight { /* private fields */ }
Implementations
sourceimpl PatternWeight
impl PatternWeight
pub fn new(weight: NonZeroU32) -> Self
pub fn weight(&self) -> u32
pub fn weight_log_weight(&self) -> f32
Auto Trait Implementations
impl RefUnwindSafe for PatternWeight
impl Send for PatternWeight
impl Sync for PatternWeight
impl Unpin for PatternWeight
impl UnwindSafe for PatternWeight
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more