pub struct NoteConfig {
pub punctuation: Option<NoteQuotePlacement>,
pub number: Option<NoteNumberPlacement>,
pub order: Option<NoteMarkerOrder>,
pub unknown_fields: BTreeMap<String, Value>,
}Expand description
Document-level note marker placement rules.
Fields§
§punctuation: Option<NoteQuotePlacement>Desired location of movable punctuation relative to closing quotation marks when note markers are introduced.
number: Option<NoteNumberPlacement>Desired location of the note marker relative to closing quotation marks.
order: Option<NoteMarkerOrder>Whether the note marker appears before or after the closest movable punctuation mark.
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 NoteConfig
impl Clone for NoteConfig
Source§fn clone(&self) -> NoteConfig
fn clone(&self) -> NoteConfig
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 NoteConfig
impl Debug for NoteConfig
Source§impl Default for NoteConfig
impl Default for NoteConfig
Source§fn default() -> NoteConfig
fn default() -> NoteConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NoteConfig
impl<'de> Deserialize<'de> for NoteConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<NoteConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<NoteConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for NoteConfig
impl PartialEq for NoteConfig
Source§fn eq(&self, other: &NoteConfig) -> bool
fn eq(&self, other: &NoteConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for NoteConfig
impl Serialize for NoteConfig
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 NoteConfig
Auto Trait Implementations§
impl Freeze for NoteConfig
impl RefUnwindSafe for NoteConfig
impl Send for NoteConfig
impl Sync for NoteConfig
impl Unpin for NoteConfig
impl UnsafeUnpin for NoteConfig
impl UnwindSafe for NoteConfig
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