pub struct AbsoluteOffset {
pub x: f32,
pub y: f32,
}
Expand description
The amount of absolute offset in each direction of a Scrollable
.
Fields§
§x: f32
The amount of horizontal offset
y: f32
The amount of vertical offset
Trait Implementations§
Source§impl Clone for AbsoluteOffset
impl Clone for AbsoluteOffset
Source§fn clone(&self) -> AbsoluteOffset
fn clone(&self) -> AbsoluteOffset
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AbsoluteOffset
impl Debug for AbsoluteOffset
Source§impl Default for AbsoluteOffset
impl Default for AbsoluteOffset
Source§fn default() -> AbsoluteOffset
fn default() -> AbsoluteOffset
Returns the “default value” for a type. Read more
Source§impl PartialEq for AbsoluteOffset
impl PartialEq for AbsoluteOffset
impl Copy for AbsoluteOffset
impl StructuralPartialEq for AbsoluteOffset
Auto Trait Implementations§
impl Freeze for AbsoluteOffset
impl RefUnwindSafe for AbsoluteOffset
impl Send for AbsoluteOffset
impl Sync for AbsoluteOffset
impl Unpin for AbsoluteOffset
impl UnwindSafe for AbsoluteOffset
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> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.