#[repr(C)]pub struct PositionInfoInner {
pub x_offset: f32,
pub y_offset: f32,
pub static_x_offset: f32,
pub static_y_offset: f32,
}Fields§
§x_offset: f32§y_offset: f32§static_x_offset: f32§static_y_offset: f32Implementations§
Source§impl PositionInfoInner
impl PositionInfoInner
pub const fn zero() -> Self
pub fn scale_for_dpi(&mut self, scale_factor: f32)
Trait Implementations§
Source§impl Clone for PositionInfoInner
impl Clone for PositionInfoInner
Source§fn clone(&self) -> PositionInfoInner
fn clone(&self) -> PositionInfoInner
Returns a duplicate 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 PositionInfoInner
impl Debug for PositionInfoInner
Source§impl PartialEq for PositionInfoInner
impl PartialEq for PositionInfoInner
Source§impl PartialOrd for PositionInfoInner
impl PartialOrd for PositionInfoInner
impl Copy for PositionInfoInner
impl StructuralPartialEq for PositionInfoInner
Auto Trait Implementations§
impl Freeze for PositionInfoInner
impl RefUnwindSafe for PositionInfoInner
impl Send for PositionInfoInner
impl Sync for PositionInfoInner
impl Unpin for PositionInfoInner
impl UnwindSafe for PositionInfoInner
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