pub struct ParagraphDropCap {
pub drop_cap_type: ParagraphDropCapType,
pub lines: Option<i64>,
pub wrap: Option<String>,
pub horizontal_anchor: Option<String>,
pub vertical_anchor: Option<String>,
pub x_twips: Option<i64>,
pub y_twips: Option<i64>,
pub horizontal_space_twips: Option<i64>,
pub vertical_space_twips: Option<i64>,
}Expand description
Mirrors TypeScript ParagraphStyle.dropCap.
Fields§
§drop_cap_type: ParagraphDropCapType§lines: Option<i64>§wrap: Option<String>§horizontal_anchor: Option<String>§vertical_anchor: Option<String>§x_twips: Option<i64>§y_twips: Option<i64>§horizontal_space_twips: Option<i64>§vertical_space_twips: Option<i64>Trait Implementations§
Source§impl Clone for ParagraphDropCap
impl Clone for ParagraphDropCap
Source§impl Debug for ParagraphDropCap
impl Debug for ParagraphDropCap
Source§impl<'de> Deserialize<'de> for ParagraphDropCap
impl<'de> Deserialize<'de> for ParagraphDropCap
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 ParagraphDropCap
impl PartialEq for ParagraphDropCap
Source§impl Serialize for ParagraphDropCap
impl Serialize for ParagraphDropCap
impl StructuralPartialEq for ParagraphDropCap
Auto Trait Implementations§
impl Freeze for ParagraphDropCap
impl RefUnwindSafe for ParagraphDropCap
impl Send for ParagraphDropCap
impl Sync for ParagraphDropCap
impl Unpin for ParagraphDropCap
impl UnsafeUnpin for ParagraphDropCap
impl UnwindSafe for ParagraphDropCap
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