pub struct SingleLookup<F> {
pub value: Vec<(F, LocalPosition)>,
}
Expand description
Look up a single value in a lookup table. The value may be computed as a linear combination of locally-accessible cells.
Fields§
§value: Vec<(F, LocalPosition)>
Linear combination of local-positions
Implementations§
source§impl<F: Copy> SingleLookup<F>
impl<F: Copy> SingleLookup<F>
Trait Implementations§
source§impl<F: Clone> Clone for SingleLookup<F>
impl<F: Clone> Clone for SingleLookup<F>
source§fn clone(&self) -> SingleLookup<F>
fn clone(&self) -> SingleLookup<F>
Returns a copy 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<'de, F> Deserialize<'de> for SingleLookup<F>where
F: Deserialize<'de>,
impl<'de, F> Deserialize<'de> for SingleLookup<F>where F: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl<F> RefUnwindSafe for SingleLookup<F>where F: RefUnwindSafe,
impl<F> Send for SingleLookup<F>where F: Send,
impl<F> Sync for SingleLookup<F>where F: Sync,
impl<F> Unpin for SingleLookup<F>where F: Unpin,
impl<F> UnwindSafe for SingleLookup<F>where F: UnwindSafe,
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