pub enum LookupTableSetting {
Precompute,
FillOnTheFly,
NoLookup,
}Expand description
Defines whether a lookup-table should be precomputed, filled on-the-fly, or not used at all for a discrete Gaussian sampler.
Variants§
Trait Implementations§
Source§impl Clone for LookupTableSetting
impl Clone for LookupTableSetting
Source§fn clone(&self) -> LookupTableSetting
fn clone(&self) -> LookupTableSetting
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 moreSource§impl Debug for LookupTableSetting
impl Debug for LookupTableSetting
Source§impl<'de> Deserialize<'de> for LookupTableSetting
impl<'de> Deserialize<'de> for LookupTableSetting
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
Source§impl PartialEq for LookupTableSetting
impl PartialEq for LookupTableSetting
Source§impl Serialize for LookupTableSetting
impl Serialize for LookupTableSetting
impl Copy for LookupTableSetting
impl StructuralPartialEq for LookupTableSetting
Auto Trait Implementations§
impl Freeze for LookupTableSetting
impl RefUnwindSafe for LookupTableSetting
impl Send for LookupTableSetting
impl Sync for LookupTableSetting
impl Unpin for LookupTableSetting
impl UnwindSafe for LookupTableSetting
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