pub struct SessionDimensions {
pub width: u32,
pub height: u32,
}Expand description
Session dimensions for layout calculations.
Fields§
§width: u32Width in characters
height: u32Height in characters
Trait Implementations§
Source§impl Clone for SessionDimensions
impl Clone for SessionDimensions
Source§impl Debug for SessionDimensions
impl Debug for SessionDimensions
Source§impl<'de> Deserialize<'de> for SessionDimensions
impl<'de> Deserialize<'de> for SessionDimensions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SessionDimensions
impl RefUnwindSafe for SessionDimensions
impl Send for SessionDimensions
impl Sync for SessionDimensions
impl Unpin for SessionDimensions
impl UnsafeUnpin for SessionDimensions
impl UnwindSafe for SessionDimensions
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