pub struct VerticalEntryOverrides {
pub min_credit: Option<f64>,
pub max_width: Option<f64>,
pub short_delta_min: Option<f64>,
pub short_delta_max: Option<f64>,
pub min_pop_pct: Option<f64>,
pub min_distance_to_be_pct: Option<f64>,
pub min_credit_to_width_pct: Option<f64>,
}Expand description
Per-symbol vertical entry overrides (merged onto entry_rules.vertical).
Fields§
§min_credit: Option<f64>§max_width: Option<f64>§short_delta_min: Option<f64>§short_delta_max: Option<f64>§min_pop_pct: Option<f64>§min_distance_to_be_pct: Option<f64>§min_credit_to_width_pct: Option<f64>Implementations§
Source§impl VerticalEntryOverrides
impl VerticalEntryOverrides
pub fn apply_to(&self, base: VerticalEntryRules) -> VerticalEntryRules
Trait Implementations§
Source§impl Clone for VerticalEntryOverrides
impl Clone for VerticalEntryOverrides
Source§fn clone(&self) -> VerticalEntryOverrides
fn clone(&self) -> VerticalEntryOverrides
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 moreSource§impl Debug for VerticalEntryOverrides
impl Debug for VerticalEntryOverrides
Source§impl Default for VerticalEntryOverrides
impl Default for VerticalEntryOverrides
Source§fn default() -> VerticalEntryOverrides
fn default() -> VerticalEntryOverrides
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VerticalEntryOverrideswhere
VerticalEntryOverrides: Default,
impl<'de> Deserialize<'de> for VerticalEntryOverrideswhere
VerticalEntryOverrides: Default,
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 VerticalEntryOverrides
impl PartialEq for VerticalEntryOverrides
Source§impl Serialize for VerticalEntryOverrides
impl Serialize for VerticalEntryOverrides
impl StructuralPartialEq for VerticalEntryOverrides
Auto Trait Implementations§
impl Freeze for VerticalEntryOverrides
impl RefUnwindSafe for VerticalEntryOverrides
impl Send for VerticalEntryOverrides
impl Sync for VerticalEntryOverrides
impl Unpin for VerticalEntryOverrides
impl UnsafeUnpin for VerticalEntryOverrides
impl UnwindSafe for VerticalEntryOverrides
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more