pub enum PaneExpansionAnchor {
Proportion(f32),
FromStart(Pixels),
FromEnd(Pixels),
}Expand description
Anchors relative to the logical extent of one horizontal band excluding its gutters.
Variants§
Proportion(f32)
Fraction of the band’s usable width in 0.0..=1.0.
FromStart(Pixels)
Fixed offset measured from the logical start edge of the band.
FromEnd(Pixels)
Fixed offset measured inward from the logical end edge of the band.
Trait Implementations§
Source§impl Clone for PaneExpansionAnchor
impl Clone for PaneExpansionAnchor
impl Copy for PaneExpansionAnchor
Source§impl Debug for PaneExpansionAnchor
impl Debug for PaneExpansionAnchor
Source§impl PartialEq for PaneExpansionAnchor
impl PartialEq for PaneExpansionAnchor
impl StructuralPartialEq for PaneExpansionAnchor
Auto Trait Implementations§
impl Forget for PaneExpansionAnchor
impl Freeze for PaneExpansionAnchor
impl Move for PaneExpansionAnchor
impl RefUnwindSafe for PaneExpansionAnchor
impl Send for PaneExpansionAnchor
impl Sync for PaneExpansionAnchor
impl Unpin for PaneExpansionAnchor
impl UnsafeUnpin for PaneExpansionAnchor
impl UnwindSafe for PaneExpansionAnchor
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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