pub struct TextBackend;Expand description
The text feature, which registers the text backend (see the module
documentation).
feature() returns it as a shared value that a package entry can list.
It registers: the construct elements flm.pres.text.flush-right and
flm.pres.text.ruled (construct::register); the lowered-trees table
flm.lowered.text that the lowering stage writes; the pieces stage
(PiecesStage for text) and the lowered-pieces table
flm.lowered.text.pieces it writes; the regions stage
(TextRegionsStage) and its table flm.output.text.regions, together
with the RegionsOutput that describes the text output’s regions to a
host (contributed to the service slot flm.output.regions); the output
tables flm.output.text and flm.output.text.document; the settings of
TextRenderOptions; the backend with its lowering, emit and final stages;
the text output; and the text workflow.
Trait Implementations§
Source§impl Debug for TextBackend
impl Debug for TextBackend
Source§impl Default for TextBackend
impl Default for TextBackend
Source§impl FlmFeature for TextBackend
impl FlmFeature for TextBackend
Source§fn info(&self) -> FeatureInfo
fn info(&self) -> FeatureInfo
Source§fn settings(&self) -> Option<SettingsDecl>
fn settings(&self) -> Option<SettingsDecl>
None
for a feature that takes no settings as data. The default
implementation returns None. See crate::core::settings. Read moreSource§fn register(&self, b: &mut FeatureBuilder<'_>) -> Result<(), BuildError>
fn register(&self, b: &mut FeatureBuilder<'_>) -> Result<(), BuildError>
b. Read moreAuto Trait Implementations§
impl Forget for TextBackend
impl Freeze for TextBackend
impl Move for TextBackend
impl RefUnwindSafe for TextBackend
impl Send for TextBackend
impl Sync for TextBackend
impl Unpin for TextBackend
impl UnsafeUnpin for TextBackend
impl UnwindSafe for TextBackend
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> 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