pub struct PictureAnchor {Show 13 fields
pub horizontal_relative_from: DrawingHorizontalRelativeFrom,
pub horizontal_offset: Length,
pub horizontal_alignment: Option<DrawingHorizontalAlignment>,
pub vertical_relative_from: DrawingVerticalRelativeFrom,
pub vertical_offset: Length,
pub vertical_alignment: Option<DrawingVerticalAlignment>,
pub wrap: DrawingWrap,
pub distance_top: Length,
pub distance_bottom: Length,
pub distance_left: Length,
pub distance_right: Length,
pub relative_height: u32,
pub behind_text: bool,
}Expand description
Floating placement for a picture or text box.
Fields§
§horizontal_relative_from: DrawingHorizontalRelativeFrom§horizontal_offset: Length§horizontal_alignment: Option<DrawingHorizontalAlignment>§vertical_relative_from: DrawingVerticalRelativeFrom§vertical_offset: Length§vertical_alignment: Option<DrawingVerticalAlignment>§wrap: DrawingWrap§distance_top: Length§distance_bottom: Length§distance_left: Length§distance_right: Length§relative_height: u32§behind_text: boolTrait Implementations§
Source§impl Clone for PictureAnchor
impl Clone for PictureAnchor
impl Copy for PictureAnchor
Source§impl Debug for PictureAnchor
impl Debug for PictureAnchor
Source§impl PartialEq for PictureAnchor
impl PartialEq for PictureAnchor
impl StructuralPartialEq for PictureAnchor
Auto Trait Implementations§
impl Freeze for PictureAnchor
impl RefUnwindSafe for PictureAnchor
impl Send for PictureAnchor
impl Sync for PictureAnchor
impl Unpin for PictureAnchor
impl UnsafeUnpin for PictureAnchor
impl UnwindSafe for PictureAnchor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.