pub struct MarkdownSpec {
pub ownership: MarkdownOwnership,
pub line_ending: LineEndingSpec,
}Expand description
A Markdown document.
Fields§
§ownership: MarkdownOwnershipWhether Ephemeris owns the whole document or selected regions.
line_ending: LineEndingSpecThe line ending of the written document.
Implementations§
Source§impl MarkdownSpec
impl MarkdownSpec
Sourcepub const fn is_partial(&self) -> bool
pub const fn is_partial(&self) -> bool
Whether the document leaves any part of its source user-owned.
Trait Implementations§
Source§impl Clone for MarkdownSpec
impl Clone for MarkdownSpec
Source§fn clone(&self) -> MarkdownSpec
fn clone(&self) -> MarkdownSpec
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 MarkdownSpec
impl Debug for MarkdownSpec
Source§impl<'ʄ> Facet<'ʄ> for MarkdownSpec
impl<'ʄ> Facet<'ʄ> for MarkdownSpec
Source§impl Payload for MarkdownSpec
impl Payload for MarkdownSpec
Source§fn line_ending(&self) -> LineEndingSpec
fn line_ending(&self) -> LineEndingSpec
The line ending of the written document.
Auto Trait Implementations§
impl Freeze for MarkdownSpec
impl RefUnwindSafe for MarkdownSpec
impl Send for MarkdownSpec
impl Sync for MarkdownSpec
impl Unpin for MarkdownSpec
impl UnsafeUnpin for MarkdownSpec
impl UnwindSafe for MarkdownSpec
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