pub(crate) enum Target {
Page,
Text,
Document,
Image,
}Variants§
Page
Text
Document
Image
Default styling for #image(...) calls; currently just width
and height are recognised. The MVP 1.5 emit path doesn’t yet
pick these defaults up on bare images (only explicit per-call
width/height apply), but accepting them in the schema keeps
#set image(width: ...) from emitting MOS0011 today.
Implementations§
Trait Implementations§
impl Copy for Target
impl Eq for Target
impl StructuralPartialEq for Target
Auto Trait Implementations§
impl Freeze for Target
impl RefUnwindSafe for Target
impl Send for Target
impl Sync for Target
impl Unpin for Target
impl UnsafeUnpin for Target
impl UnwindSafe for Target
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