pub struct TableFloating {
pub x_twips: Option<i64>,
pub y_twips: Option<i64>,
pub left_from_text_twips: Option<i64>,
pub right_from_text_twips: Option<i64>,
pub top_from_text_twips: Option<i64>,
pub bottom_from_text_twips: Option<i64>,
pub horizontal_anchor: Option<String>,
pub vertical_anchor: Option<String>,
pub horizontal_align: Option<ImageHorizontalAlign>,
pub vertical_align: Option<ImageVerticalAlign>,
}Expand description
Mirrors TypeScript TableStyle.floating.
Fields§
§x_twips: Option<i64>§y_twips: Option<i64>§left_from_text_twips: Option<i64>§right_from_text_twips: Option<i64>§top_from_text_twips: Option<i64>§bottom_from_text_twips: Option<i64>§horizontal_anchor: Option<String>§vertical_anchor: Option<String>§horizontal_align: Option<ImageHorizontalAlign>§vertical_align: Option<ImageVerticalAlign>Trait Implementations§
Source§impl Clone for TableFloating
impl Clone for TableFloating
Source§impl Debug for TableFloating
impl Debug for TableFloating
Source§impl<'de> Deserialize<'de> for TableFloating
impl<'de> Deserialize<'de> for TableFloating
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 TableFloating
impl PartialEq for TableFloating
Source§impl Serialize for TableFloating
impl Serialize for TableFloating
impl StructuralPartialEq for TableFloating
Auto Trait Implementations§
impl Freeze for TableFloating
impl RefUnwindSafe for TableFloating
impl Send for TableFloating
impl Sync for TableFloating
impl Unpin for TableFloating
impl UnsafeUnpin for TableFloating
impl UnwindSafe for TableFloating
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