pub struct DefinitionPartMissing {
pub kind: String,
pub definition: String,
pub table: String,
pub condition: String,
}Expand description
Condition flm.html.definition-part-missing (Error): a part of a style or
script definition the document requires is supplied by a table
(DefContent::Table), and the run holds no text for it: the table is
absent (no stage of the plan wrote it) or holds an empty text.
It reports a mistake in the feature that declares the definition (its stage
did not run or wrote nothing), never anything a document can write.
Reported by ResolveDefinitionsStage, at no position in a document.
Recovery: the part is empty; the definition’s other parts, and the rest of
the page, are written as usual.
Fields§
§kind: StringWhat the definition is, stylesheet or script.
definition: StringThe definition’s identifier.
table: StringThe table the part names.
condition: StringWhat the run found: no stage wrote that table where the table is
absent, or the table `<name>` holds no text where it holds an
empty text.
Implementations§
Trait Implementations§
Source§impl Clone for DefinitionPartMissing
impl Clone for DefinitionPartMissing
Source§impl Debug for DefinitionPartMissing
impl Debug for DefinitionPartMissing
Source§impl DiagnosticInfo for DefinitionPartMissing
impl DiagnosticInfo for DefinitionPartMissing
Source§const IDENTIFIER: &'static str = "flm.html.definition-part-missing"
const IDENTIFIER: &'static str = "flm.html.definition-part-missing"
<crate-or-lang>.<area>.<condition>. Read moreSource§fn serializable_data(&self) -> DiagnosticValue
fn serializable_data(&self) -> DiagnosticValue
Source§fn identifier(&self) -> &str
fn identifier(&self) -> &str
Source§impl Display for DefinitionPartMissing
impl Display for DefinitionPartMissing
impl Eq for DefinitionPartMissing
Source§impl PartialEq for DefinitionPartMissing
impl PartialEq for DefinitionPartMissing
impl StructuralPartialEq for DefinitionPartMissing
Auto Trait Implementations§
impl Forget for DefinitionPartMissing
impl Freeze for DefinitionPartMissing
impl Move for DefinitionPartMissing
impl RefUnwindSafe for DefinitionPartMissing
impl Send for DefinitionPartMissingwhere
RawVecInner: Send,
impl Sync for DefinitionPartMissingwhere
RawVecInner: Sync,
impl Unpin for DefinitionPartMissing
impl UnsafeUnpin for DefinitionPartMissing
impl UnwindSafe for DefinitionPartMissingwhere
RawVecInner: UnwindSafe,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DiagnosticData for Twhere
T: DiagnosticInfo,
impl<T> DiagnosticData for Twhere
T: DiagnosticInfo,
Source§fn identifier(&self) -> &str
fn identifier(&self) -> &str
DiagnosticInfo::identifier — for every
ordinary condition, the IDENTIFIER const).Source§fn serializable_data(&self) -> DiagnosticValue
fn serializable_data(&self) -> DiagnosticValue
DiagnosticInfo::serializable_data).Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more