pub struct RectShape {
pub nm: Option<String>,
pub s: Property<Vec2>,
pub p: Property<Vec2>,
pub r: Property<f32>,
}Fields§
§nm: Option<String>§s: Property<Vec2>§p: Property<Vec2>§r: Property<f32>Trait Implementations§
Source§impl<'de> Deserialize<'de> for RectShape
impl<'de> Deserialize<'de> for RectShape
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 RectShape
impl RefUnwindSafe for RectShape
impl Send for RectShape
impl Sync for RectShape
impl Unpin for RectShape
impl UnwindSafe for RectShape
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