pub struct RandomConfig {
pub dim: usize,
pub seed: u64,
}Expand description
Input for random vector generation.
Fields§
§dim: usizeVector dimension.
seed: u64Random seed.
Implementations§
Trait Implementations§
Source§impl Clone for RandomConfig
impl Clone for RandomConfig
Source§fn clone(&self) -> RandomConfig
fn clone(&self) -> RandomConfig
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 RandomConfig
impl RefUnwindSafe for RandomConfig
impl Send for RandomConfig
impl Sync for RandomConfig
impl Unpin for RandomConfig
impl UnwindSafe for RandomConfig
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