pub struct TextIndent {
pub first_line: TextUnit,
pub rest_line: TextUnit,
}Expand description
Indentation of the lines of a paragraph. Compose’s TextIndent. Not yet applied by
text layout.
Fields§
§first_line: TextUnitIndent of the first line, as a TextUnit.
rest_line: TextUnitIndent of every line after the first, as a TextUnit.
Trait Implementations§
Source§impl Clone for TextIndent
impl Clone for TextIndent
impl Copy for TextIndent
Source§impl Debug for TextIndent
impl Debug for TextIndent
Source§impl Default for TextIndent
impl Default for TextIndent
Source§impl PartialEq for TextIndent
impl PartialEq for TextIndent
impl StructuralPartialEq for TextIndent
Auto Trait Implementations§
impl Freeze for TextIndent
impl RefUnwindSafe for TextIndent
impl Send for TextIndent
impl Sync for TextIndent
impl Unpin for TextIndent
impl UnsafeUnpin for TextIndent
impl UnwindSafe for TextIndent
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> ErasedDestructor for Twhere
T: 'static,
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