pub struct StylesRect {
pub height: Option<f64>,
pub left: Option<f64>,
pub top: Option<f64>,
pub width: Option<f64>,
}Expand description
Element of type Rect
Fields§
§height: Option<f64>§left: Option<f64>§top: Option<f64>§width: Option<f64>Implementations§
Source§impl StylesRect
impl StylesRect
pub fn builder() -> StylesRect
Trait Implementations§
Source§impl Clone for StylesRect
impl Clone for StylesRect
Source§impl Debug for StylesRect
impl Debug for StylesRect
Source§impl<'de> Deserialize<'de> for StylesRect
impl<'de> Deserialize<'de> for StylesRect
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 From<&StylesRect> for StylesRect
impl From<&StylesRect> for StylesRect
Source§fn from(value: &StylesRect) -> Self
fn from(value: &StylesRect) -> Self
Converts to this type from the input type.
Source§impl From<StylesRect> for StylesRect
impl From<StylesRect> for StylesRect
Source§fn from(value: StylesRect) -> Self
fn from(value: StylesRect) -> Self
Converts to this type from the input type.
Source§impl Serialize for StylesRect
impl Serialize for StylesRect
Source§impl TryFrom<StylesRect> for StylesRect
impl TryFrom<StylesRect> for StylesRect
Auto Trait Implementations§
impl Freeze for StylesRect
impl RefUnwindSafe for StylesRect
impl Send for StylesRect
impl Sync for StylesRect
impl Unpin for StylesRect
impl UnsafeUnpin for StylesRect
impl UnwindSafe for StylesRect
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