pub struct NormalizedEnclosure {
pub opening: String,
pub closing: Option<String>,
}Expand description
Delimiters selected by the obsolete mdoc Es/En enclosure pair.
libmandoc resolves the stateful Es definition while validating each
En invocation. Copying that result keeps downstream renderers from
replaying formatter state or exposing the non-printing Es arguments.
Fields§
§opening: StringVisible opening delimiter.
closing: Option<String>Visible closing delimiter, when the definition supplied one.
Trait Implementations§
Source§impl Clone for NormalizedEnclosure
impl Clone for NormalizedEnclosure
Source§fn clone(&self) -> NormalizedEnclosure
fn clone(&self) -> NormalizedEnclosure
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 NormalizedEnclosure
impl Debug for NormalizedEnclosure
Source§impl<'de> Deserialize<'de> for NormalizedEnclosure
impl<'de> Deserialize<'de> for NormalizedEnclosure
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
impl Eq for NormalizedEnclosure
Source§impl PartialEq for NormalizedEnclosure
impl PartialEq for NormalizedEnclosure
Source§impl Serialize for NormalizedEnclosure
impl Serialize for NormalizedEnclosure
impl StructuralPartialEq for NormalizedEnclosure
Auto Trait Implementations§
impl Freeze for NormalizedEnclosure
impl RefUnwindSafe for NormalizedEnclosure
impl Send for NormalizedEnclosure
impl Sync for NormalizedEnclosure
impl Unpin for NormalizedEnclosure
impl UnsafeUnpin for NormalizedEnclosure
impl UnwindSafe for NormalizedEnclosure
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