pub struct Corners {
pub top_left: Px,
pub top_right: Px,
pub bottom_right: Px,
pub bottom_left: Px,
}Fields§
§top_left: Px§top_right: Px§bottom_right: Px§bottom_left: PxImplementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Corners
impl<'de> Deserialize<'de> for Corners
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
impl Copy for Corners
impl StructuralPartialEq for Corners
Auto Trait Implementations§
impl Freeze for Corners
impl RefUnwindSafe for Corners
impl Send for Corners
impl Sync for Corners
impl Unpin for Corners
impl UnsafeUnpin for Corners
impl UnwindSafe for Corners
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