pub struct Projection { /* private fields */ }Expand description
A split of a parameter vector into fixed and free entries.
Implementations§
Source§impl Projection
impl Projection
Sourcepub fn new(
parameter_values: &Array,
fix_parameters: Vec<bool>,
) -> QlResult<Self>
pub fn new( parameter_values: &Array, fix_parameters: Vec<bool>, ) -> QlResult<Self>
A projection of parameter_values, holding fixed every entry whose
fix_parameters flag is true. An empty fix_parameters leaves every
entry free.
§Errors
Fails if fix_parameters is non-empty and its length differs from the
seed, or if every entry is fixed (no free parameters remain).
Trait Implementations§
Source§impl Clone for Projection
impl Clone for Projection
Source§fn clone(&self) -> Projection
fn clone(&self) -> Projection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Projection
impl RefUnwindSafe for Projection
impl Send for Projection
impl Sync for Projection
impl Unpin for Projection
impl UnsafeUnpin for Projection
impl UnwindSafe for Projection
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