pub enum UnprintableReason {
InvalidId(String),
InvalidMetadataName(String),
LineBreak {
field: TextField,
text: String,
},
CommentOpening {
field: TextField,
text: String,
},
UnreadableDescription,
UnreadableProse,
UnsayableStrokeDash(String),
UnmappedStyleKey(String),
BadgeWithStrokeDash,
UrlWithoutUrlCharacter(String),
RespelledElementLink {
link: String,
target: ElementPath,
},
RenumberedEdge {
ordinal: u32,
reading_ordinal: u32,
},
}Expand description
Explain why Markdown cannot say one part of a model.
Variants§
InvalidId(String)
InvalidMetadataName(String)
LineBreak
CommentOpening
UnreadableDescription
UnreadableProse
UnsayableStrokeDash(String)
UnmappedStyleKey(String)
BadgeWithStrokeDash
UrlWithoutUrlCharacter(String)
RespelledElementLink
RenumberedEdge
Trait Implementations§
Source§impl Clone for UnprintableReason
impl Clone for UnprintableReason
Source§impl Debug for UnprintableReason
impl Debug for UnprintableReason
Source§impl Display for UnprintableReason
impl Display for UnprintableReason
Source§impl Error for UnprintableReason
impl Error for UnprintableReason
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for UnprintableReason
impl PartialEq for UnprintableReason
impl StructuralPartialEq for UnprintableReason
Auto Trait Implementations§
impl Forget for UnprintableReason
impl Freeze for UnprintableReason
impl Move for UnprintableReason
impl RefUnwindSafe for UnprintableReason
impl Send for UnprintableReason
impl Sync for UnprintableReason
impl Unpin for UnprintableReason
impl UnsafeUnpin for UnprintableReason
impl UnwindSafe for UnprintableReason
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> OrderedSeq<'_, T> for Twhere
T: Clone,
Source§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.