pub struct RenderSize {
pub width: f32,
pub height: f32,
}Expand description
Size for view rendering.
Fields§
§width: f32Width in points.
height: f32Height in points.
Implementations§
Trait Implementations§
Source§impl Clone for RenderSize
impl Clone for RenderSize
Source§fn clone(&self) -> RenderSize
fn clone(&self) -> RenderSize
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RenderSize
Auto Trait Implementations§
impl Freeze for RenderSize
impl RefUnwindSafe for RenderSize
impl Send for RenderSize
impl Sync for RenderSize
impl Unpin for RenderSize
impl UnsafeUnpin for RenderSize
impl UnwindSafe for RenderSize
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