pub struct MixHistoryLength(/* private fields */);Expand description
This keyword determines the maximum number of densities to store in the history used during the density mixing procedure.
§Default
7
Example
MIX_HISTORY_LENGTH : 5
Implementations§
Trait Implementations§
Source§impl Clone for MixHistoryLength
impl Clone for MixHistoryLength
Source§fn clone(&self) -> MixHistoryLength
fn clone(&self) -> MixHistoryLength
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 MixHistoryLength
impl Debug for MixHistoryLength
Source§impl Default for MixHistoryLength
impl Default for MixHistoryLength
Source§fn default() -> MixHistoryLength
fn default() -> MixHistoryLength
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MixHistoryLength
impl<'de> Deserialize<'de> for MixHistoryLength
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 Display for MixHistoryLength
impl Display for MixHistoryLength
Source§impl From<u32> for MixHistoryLength
impl From<u32> for MixHistoryLength
Source§impl Hash for MixHistoryLength
impl Hash for MixHistoryLength
Source§impl KeywordDisplay for MixHistoryLength
impl KeywordDisplay for MixHistoryLength
Source§impl Ord for MixHistoryLength
impl Ord for MixHistoryLength
Source§fn cmp(&self, other: &MixHistoryLength) -> Ordering
fn cmp(&self, other: &MixHistoryLength) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MixHistoryLength
impl PartialEq for MixHistoryLength
Source§impl PartialOrd for MixHistoryLength
impl PartialOrd for MixHistoryLength
Source§impl Serialize for MixHistoryLength
impl Serialize for MixHistoryLength
impl Copy for MixHistoryLength
impl Eq for MixHistoryLength
impl StructuralPartialEq for MixHistoryLength
Auto Trait Implementations§
impl Freeze for MixHistoryLength
impl RefUnwindSafe for MixHistoryLength
impl Send for MixHistoryLength
impl Sync for MixHistoryLength
impl Unpin for MixHistoryLength
impl UnwindSafe for MixHistoryLength
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