pub struct TabDimensions {
pub width: usize,
pub height: usize,
}Expand description
Dimensions for rendered rectangle (whole tab size) of the viewed online resource
Fields§
§width: usizeWidth in pixels
height: usizeHeight in pixels
Trait Implementations§
Source§impl Clone for TabDimensions
impl Clone for TabDimensions
Source§fn clone(&self) -> TabDimensions
fn clone(&self) -> TabDimensions
Returns a duplicate 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 TabDimensions
impl Debug for TabDimensions
Source§impl Default for TabDimensions
impl Default for TabDimensions
Source§impl<'de> Deserialize<'de> for TabDimensions
impl<'de> Deserialize<'de> for TabDimensions
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
Source§impl PartialEq for TabDimensions
impl PartialEq for TabDimensions
Source§impl Serialize for TabDimensions
impl Serialize for TabDimensions
impl Copy for TabDimensions
impl Eq for TabDimensions
impl StructuralPartialEq for TabDimensions
Auto Trait Implementations§
impl Freeze for TabDimensions
impl RefUnwindSafe for TabDimensions
impl Send for TabDimensions
impl Sync for TabDimensions
impl Unpin for TabDimensions
impl UnwindSafe for TabDimensions
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