pub enum FloatSide {
Left,
Right,
Start,
End,
Inside,
Outside,
None,
}Expand description
Float side values for float property
Variants§
Left
Float to the left
Right
Float to the right
Start
Float to the start edge (left in LTR, right in RTL)
End
Float to the end edge (right in LTR, left in RTL)
Inside
Float inside (start on left pages, end on right pages)
Outside
Float outside (end on left pages, start on right pages)
None
No float
Trait Implementations§
impl Copy for FloatSide
impl Eq for FloatSide
impl StructuralPartialEq for FloatSide
Auto Trait Implementations§
impl Freeze for FloatSide
impl RefUnwindSafe for FloatSide
impl Send for FloatSide
impl Sync for FloatSide
impl Unpin for FloatSide
impl UnsafeUnpin for FloatSide
impl UnwindSafe for FloatSide
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,
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