pub struct ScreenLayout {
pub text_w: usize,
pub content_h: i32,
pub heading_h: i32,
pub heading_gap: i32,
pub para_gap: i32,
}Fields§
§text_w: usize§content_h: i32§heading_h: i32§heading_gap: i32§para_gap: i32Trait Implementations§
Source§impl Clone for ScreenLayout
impl Clone for ScreenLayout
Source§fn clone(&self) -> ScreenLayout
fn clone(&self) -> ScreenLayout
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 ScreenLayout
Auto Trait Implementations§
impl Freeze for ScreenLayout
impl RefUnwindSafe for ScreenLayout
impl Send for ScreenLayout
impl Sync for ScreenLayout
impl Unpin for ScreenLayout
impl UnsafeUnpin for ScreenLayout
impl UnwindSafe for ScreenLayout
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