pub struct AliasMethod { /* private fields */ }
Implementations§
Source§impl AliasMethod
impl AliasMethod
pub fn new(list: Vec<f32>) -> AliasMethod
pub fn find_index(&self, u0: f32, u1: f32) -> usize
Trait Implementations§
Source§impl Clone for AliasMethod
impl Clone for AliasMethod
Source§fn clone(&self) -> AliasMethod
fn clone(&self) -> AliasMethod
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 moreAuto Trait Implementations§
impl Freeze for AliasMethod
impl RefUnwindSafe for AliasMethod
impl Send for AliasMethod
impl Sync for AliasMethod
impl Unpin for AliasMethod
impl UnwindSafe for AliasMethod
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