pub enum Transform {
TabExpansion,
Reindent,
LevelOffsetWrapper,
SecureLinkRewrite,
UnresolvedDirective,
Rewritten,
}Expand description
Identifies which preprocessor transform is responsible for a non-verbatim line. Informational: it tells a consumer why a column is unavailable.
Variants§
TabExpansion
Tabs were expanded to spaces per the tabsize attribute.
Reindent
Leading indentation was normalized per the indent attribute.
LevelOffsetWrapper
A synthetic :leveloffset: attribute entry wrapping an include.
SecureLinkRewrite
A secure-mode rewrite of an include:: directive into a link: macro.
UnresolvedDirective
A synthetic “Unresolved directive” line replacing an include that could not be resolved.
Rewritten
The line was otherwise rewritten so its columns no longer align with the origin: an escaped directive with its leading backslash removed, or the spliced-in content of a single-line conditional.
Trait Implementations§
impl Copy for Transform
impl Eq for Transform
impl StructuralPartialEq for Transform
Auto Trait Implementations§
impl Freeze for Transform
impl RefUnwindSafe for Transform
impl Send for Transform
impl Sync for Transform
impl Unpin for Transform
impl UnsafeUnpin for Transform
impl UnwindSafe for Transform
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