pub enum AbsoluteLength {
Points(Points),
Rems(Rems),
}Expand description
A length known without layout: points, or rems of a root font size.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AbsoluteLength
impl Clone for AbsoluteLength
impl Copy for AbsoluteLength
Source§impl Debug for AbsoluteLength
impl Debug for AbsoluteLength
Source§impl Default for AbsoluteLength
impl Default for AbsoluteLength
impl Eq for AbsoluteLength
Source§impl From<AbsoluteLength> for DefiniteLength
impl From<AbsoluteLength> for DefiniteLength
Source§fn from(a: AbsoluteLength) -> Self
fn from(a: AbsoluteLength) -> Self
Converts to this type from the input type.
Source§impl From<AbsoluteLength> for Length
impl From<AbsoluteLength> for Length
Source§fn from(a: AbsoluteLength) -> Self
fn from(a: AbsoluteLength) -> Self
Converts to this type from the input type.
Source§impl From<AbsoluteLength> for LengthPercentage
impl From<AbsoluteLength> for LengthPercentage
Source§fn from(l: AbsoluteLength) -> Self
fn from(l: AbsoluteLength) -> Self
Converts to this type from the input type.
Source§impl From<AbsoluteLength> for LineHeight
impl From<AbsoluteLength> for LineHeight
Source§fn from(length: AbsoluteLength) -> Self
fn from(length: AbsoluteLength) -> Self
Converts to this type from the input type.
Source§impl From<Points> for AbsoluteLength
impl From<Points> for AbsoluteLength
Source§impl From<Rems> for AbsoluteLength
impl From<Rems> for AbsoluteLength
Source§impl Hash for AbsoluteLength
impl Hash for AbsoluteLength
Source§impl IntoReactive<AbsoluteLength> for Points
impl IntoReactive<AbsoluteLength> for Points
Source§fn into_reactive(self) -> Reactive<AbsoluteLength>
fn into_reactive(self) -> Reactive<AbsoluteLength>
As a
Reactive.Source§impl IntoReactive<AbsoluteLength> for Rems
impl IntoReactive<AbsoluteLength> for Rems
Source§fn into_reactive(self) -> Reactive<AbsoluteLength>
fn into_reactive(self) -> Reactive<AbsoluteLength>
As a
Reactive.Source§impl IntoReactive<AbsoluteLength> for AbsoluteLength
impl IntoReactive<AbsoluteLength> for AbsoluteLength
Source§fn into_reactive(self) -> Reactive<AbsoluteLength>
fn into_reactive(self) -> Reactive<AbsoluteLength>
As a
Reactive.Source§impl IntoReactive<DefiniteLength> for AbsoluteLength
impl IntoReactive<DefiniteLength> for AbsoluteLength
Source§fn into_reactive(self) -> Reactive<DefiniteLength>
fn into_reactive(self) -> Reactive<DefiniteLength>
As a
Reactive.Source§impl IntoReactive<Length> for AbsoluteLength
impl IntoReactive<Length> for AbsoluteLength
Source§impl IntoReactive<LineHeight> for AbsoluteLength
impl IntoReactive<LineHeight> for AbsoluteLength
Source§fn into_reactive(self) -> Reactive<LineHeight>
fn into_reactive(self) -> Reactive<LineHeight>
As a
Reactive.Source§impl PartialEq for AbsoluteLength
impl PartialEq for AbsoluteLength
impl StructuralPartialEq for AbsoluteLength
Auto Trait Implementations§
impl Forget for AbsoluteLength
impl Freeze for AbsoluteLength
impl Move for AbsoluteLength
impl RefUnwindSafe for AbsoluteLength
impl Send for AbsoluteLength
impl Sync for AbsoluteLength
impl Unpin for AbsoluteLength
impl UnsafeUnpin for AbsoluteLength
impl UnwindSafe for AbsoluteLength
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