pub struct MissingHandler {
pub float_type: String,
pub handler: String,
}Expand description
The note that is reported when a float type that is used in the document
lists a content handler that is not available in the registry (id
flm.floats.missing-handler).
A float type lists the content handlers that it accepts
(FloatType::handlers). Each content handler
is contributed to the service slot CONTENT_SLOT by
the feature that provides its kind of content: the graphics feature
contributes includegraphics, and the cells feature contributes cells.
A content handler is missing, for instance, when the registry does not
contain the feature that contributes it.
Reported by the check stage CHECK_HANDLERS, also
under the check workflow, once for each float type and each missing
content handler of the type, at the first float of the type in the
document. The missing content handler accepts no content, and the other
content handlers of the type are tried. When none of the content handlers
of a float type is available, every float of the type is reported as
ContentRefused.
Fields§
§float_type: StringThe name of the float type, e.g. figure.
handler: StringThe name of the missing content handler, e.g. includegraphics.
Implementations§
Trait Implementations§
Source§impl Clone for MissingHandler
impl Clone for MissingHandler
Source§impl Debug for MissingHandler
impl Debug for MissingHandler
Source§impl DiagnosticInfo for MissingHandler
impl DiagnosticInfo for MissingHandler
Source§const IDENTIFIER: &'static str = "flm.floats.missing-handler"
const IDENTIFIER: &'static str = "flm.floats.missing-handler"
<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 MissingHandler
impl Display for MissingHandler
impl Eq for MissingHandler
Source§impl PartialEq for MissingHandler
impl PartialEq for MissingHandler
impl StructuralPartialEq for MissingHandler
Auto Trait Implementations§
impl Forget for MissingHandler
impl Freeze for MissingHandler
impl Move for MissingHandler
impl RefUnwindSafe for MissingHandler
impl Send for MissingHandlerwhere
RawVecInner: Send,
impl Sync for MissingHandlerwhere
RawVecInner: Sync,
impl Unpin for MissingHandler
impl UnsafeUnpin for MissingHandler
impl UnwindSafe for MissingHandlerwhere
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