pub struct LogicalSize {
pub width: f32,
pub height: f32,
}
Fields§
§width: f32
§height: f32
Implementations§
Source§impl LogicalSize
impl LogicalSize
Trait Implementations§
Source§impl Clone for LogicalSize
impl Clone for LogicalSize
Source§fn clone(&self) -> LogicalSize
fn clone(&self) -> LogicalSize
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 LogicalSize
impl Debug for LogicalSize
Source§impl PartialEq for LogicalSize
impl PartialEq for LogicalSize
Source§impl PartialOrd for LogicalSize
impl PartialOrd for LogicalSize
impl Copy for LogicalSize
impl StructuralPartialEq for LogicalSize
Auto Trait Implementations§
impl Freeze for LogicalSize
impl RefUnwindSafe for LogicalSize
impl Send for LogicalSize
impl Sync for LogicalSize
impl Unpin for LogicalSize
impl UnwindSafe for LogicalSize
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)