pub struct LocatorKindConfig {
pub label_form: Option<LabelForm>,
pub range_format: Option<PageRangeFormat>,
pub strip_label_periods: Option<bool>,
pub unknown_fields: BTreeMap<String, Value>,
}Expand description
Per-locator-kind configuration overrides.
Fields§
§label_form: Option<LabelForm>Override the default label form for this locator kind.
range_format: Option<PageRangeFormat>Override the global range format for this locator kind.
strip_label_periods: Option<bool>Strip trailing periods from labels (e.g., “p.” → “p”).
unknown_fields: BTreeMap<String, Value>Forward-compat: captures unknown keys when an older engine reads a
style produced by a newer schema. Empty by default; treated as a
SoftDegrade signal. See docs/specs/FORWARD_COMPATIBILITY.md.
Trait Implementations§
Source§impl Clone for LocatorKindConfig
impl Clone for LocatorKindConfig
Source§fn clone(&self) -> LocatorKindConfig
fn clone(&self) -> LocatorKindConfig
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 LocatorKindConfig
impl Debug for LocatorKindConfig
Source§impl Default for LocatorKindConfig
impl Default for LocatorKindConfig
Source§fn default() -> LocatorKindConfig
fn default() -> LocatorKindConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LocatorKindConfig
impl<'de> Deserialize<'de> for LocatorKindConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LocatorKindConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LocatorKindConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for LocatorKindConfig
impl PartialEq for LocatorKindConfig
Source§fn eq(&self, other: &LocatorKindConfig) -> bool
fn eq(&self, other: &LocatorKindConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LocatorKindConfig
impl Serialize for LocatorKindConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for LocatorKindConfig
Auto Trait Implementations§
impl Freeze for LocatorKindConfig
impl RefUnwindSafe for LocatorKindConfig
impl Send for LocatorKindConfig
impl Sync for LocatorKindConfig
impl Unpin for LocatorKindConfig
impl UnsafeUnpin for LocatorKindConfig
impl UnwindSafe for LocatorKindConfig
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