pub struct ImageFloating {Show 14 fields
pub x_px: Option<f64>,
pub y_px: Option<f64>,
pub horizontal_align: Option<ImageHorizontalAlign>,
pub vertical_align: Option<ImageVerticalAlign>,
pub horizontal_relative_to: Option<String>,
pub vertical_relative_to: Option<String>,
pub dist_l_px: Option<f64>,
pub dist_r_px: Option<f64>,
pub dist_t_px: Option<f64>,
pub dist_b_px: Option<f64>,
pub wrap_type: Option<ImageWrapType>,
pub wrap_text: Option<ImageWrapText>,
pub behind_document: Option<bool>,
pub z_index: Option<i64>,
}Expand description
Mirrors TypeScript ImageRunNode.floating.
Fields§
§x_px: Option<f64>§y_px: Option<f64>§horizontal_align: Option<ImageHorizontalAlign>§vertical_align: Option<ImageVerticalAlign>§horizontal_relative_to: Option<String>§vertical_relative_to: Option<String>§dist_l_px: Option<f64>§dist_r_px: Option<f64>§dist_t_px: Option<f64>§dist_b_px: Option<f64>§wrap_type: Option<ImageWrapType>§wrap_text: Option<ImageWrapText>§behind_document: Option<bool>§z_index: Option<i64>Trait Implementations§
Source§impl Clone for ImageFloating
impl Clone for ImageFloating
Source§impl Debug for ImageFloating
impl Debug for ImageFloating
Source§impl<'de> Deserialize<'de> for ImageFloating
impl<'de> Deserialize<'de> for ImageFloating
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
Source§impl PartialEq for ImageFloating
impl PartialEq for ImageFloating
Source§impl Serialize for ImageFloating
impl Serialize for ImageFloating
impl StructuralPartialEq for ImageFloating
Auto Trait Implementations§
impl Freeze for ImageFloating
impl RefUnwindSafe for ImageFloating
impl Send for ImageFloating
impl Sync for ImageFloating
impl Unpin for ImageFloating
impl UnsafeUnpin for ImageFloating
impl UnwindSafe for ImageFloating
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<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> ⓘ
Converts
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> ⓘ
Converts
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