pub struct CornerDef {
pub name: String,
pub radius: f64,
pub targets: Vec<String>,
}Expand description
A named corner radius, for every platform when targets is empty and
for the platforms it names otherwise.
Fields§
§name: String§radius: f64§targets: Vec<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for CornerDef
impl<'de> Deserialize<'de> for CornerDef
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 StructuralPartialEq for CornerDef
Auto Trait Implementations§
impl Freeze for CornerDef
impl RefUnwindSafe for CornerDef
impl Send for CornerDef
impl Sync for CornerDef
impl Unpin for CornerDef
impl UnsafeUnpin for CornerDef
impl UnwindSafe for CornerDef
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