pub struct LayoutViewport {
pub width: usize,
pub height: usize,
}Expand description
A viewport for layout calculations.
Fields§
§width: usize§height: usizeTrait Implementations§
Source§impl Clone for LayoutViewport
impl Clone for LayoutViewport
impl Copy for LayoutViewport
Source§impl Debug for LayoutViewport
impl Debug for LayoutViewport
Auto Trait Implementations§
impl Freeze for LayoutViewport
impl RefUnwindSafe for LayoutViewport
impl Send for LayoutViewport
impl Sync for LayoutViewport
impl Unpin for LayoutViewport
impl UnsafeUnpin for LayoutViewport
impl UnwindSafe for LayoutViewport
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