pub enum ImagePlacement {
Inline,
Beside,
Page,
Bleed,
}Expand description
Where a picture stands (ADR-0012).
Variants§
Inline
In the flow of the text, centred, where the author put it.
Beside
Beside the text, which wraps round it.
Page
On a page of its own, inside the margins.
Bleed
On a page of its own, to the trimmed edge and into the bleed.
Implementations§
Trait Implementations§
Source§impl Clone for ImagePlacement
impl Clone for ImagePlacement
impl Copy for ImagePlacement
Source§impl Debug for ImagePlacement
impl Debug for ImagePlacement
Source§impl Default for ImagePlacement
impl Default for ImagePlacement
Source§impl<'de> Deserialize<'de> for ImagePlacement
impl<'de> Deserialize<'de> for ImagePlacement
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ImagePlacement
Source§impl PartialEq for ImagePlacement
impl PartialEq for ImagePlacement
Source§impl Serialize for ImagePlacement
impl Serialize for ImagePlacement
impl StructuralPartialEq for ImagePlacement
Auto Trait Implementations§
impl Freeze for ImagePlacement
impl RefUnwindSafe for ImagePlacement
impl Send for ImagePlacement
impl Sync for ImagePlacement
impl Unpin for ImagePlacement
impl UnsafeUnpin for ImagePlacement
impl UnwindSafe for ImagePlacement
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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
Compare self to
key and return true if they are equal.