pub struct LayoutPayload {
pub x: f32,
pub y: f32,
pub width: f32,
pub height: f32,
}Expand description
Element layout frame in physical pixels, relative to the window.
Fields§
§x: f32§y: f32§width: f32§height: f32Implementations§
Source§impl LayoutPayload
impl LayoutPayload
pub fn is_measured(self) -> bool
Trait Implementations§
Source§impl Clone for LayoutPayload
impl Clone for LayoutPayload
impl Copy for LayoutPayload
Source§impl Debug for LayoutPayload
impl Debug for LayoutPayload
Source§impl Default for LayoutPayload
impl Default for LayoutPayload
Source§impl PartialEq for LayoutPayload
impl PartialEq for LayoutPayload
impl StructuralPartialEq for LayoutPayload
Auto Trait Implementations§
impl Freeze for LayoutPayload
impl RefUnwindSafe for LayoutPayload
impl Send for LayoutPayload
impl Sync for LayoutPayload
impl Unpin for LayoutPayload
impl UnsafeUnpin for LayoutPayload
impl UnwindSafe for LayoutPayload
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> 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<Ret> SpawnIfAsync<(), Ret> for Ret
impl<Ret> SpawnIfAsync<(), Ret> for Ret
Source§impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
impl<T, O> SuperFrom<T> for Owhere
O: From<T>,
Source§fn super_from(input: T) -> O
fn super_from(input: T) -> O
Convert from a type to another type.
Source§impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
impl<T, O, M> SuperInto<O, M> for Twhere
O: SuperFrom<T, M>,
Source§fn super_into(self) -> O
fn super_into(self) -> O
Convert from a type to another type.