pub struct LayoutRecipeSlot {
pub id: String,
pub kind: LayoutRecipeSlotKind,
pub label: String,
pub rect: Rect,
pub min_width: f32,
pub min_height: f32,
pub emphasis: f32,
}Fields§
§id: String§kind: LayoutRecipeSlotKind§label: String§rect: Rect§min_width: f32§min_height: f32§emphasis: f32Implementations§
Trait Implementations§
Source§impl Clone for LayoutRecipeSlot
impl Clone for LayoutRecipeSlot
Source§fn clone(&self) -> LayoutRecipeSlot
fn clone(&self) -> LayoutRecipeSlot
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LayoutRecipeSlot
impl Debug for LayoutRecipeSlot
Source§impl<'de> Deserialize<'de> for LayoutRecipeSlot
impl<'de> Deserialize<'de> for LayoutRecipeSlot
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 LayoutRecipeSlot
impl PartialEq for LayoutRecipeSlot
Source§fn eq(&self, other: &LayoutRecipeSlot) -> bool
fn eq(&self, other: &LayoutRecipeSlot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LayoutRecipeSlot
impl Serialize for LayoutRecipeSlot
impl StructuralPartialEq for LayoutRecipeSlot
Auto Trait Implementations§
impl Freeze for LayoutRecipeSlot
impl RefUnwindSafe for LayoutRecipeSlot
impl Send for LayoutRecipeSlot
impl Sync for LayoutRecipeSlot
impl Unpin for LayoutRecipeSlot
impl UnsafeUnpin for LayoutRecipeSlot
impl UnwindSafe for LayoutRecipeSlot
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