pub struct LayoutNodeDataPrototype {
pub layout: String,
pub px: f32,
pub py: f32,
}
Expand description
The same as LayoutNodeData
, but does not have a fixed variable ID because
it is associated with a variable that does not have an ID yet.
Fields§
§layout: String
§px: f32
§py: f32
Trait Implementations§
source§impl Clone for LayoutNodeDataPrototype
impl Clone for LayoutNodeDataPrototype
source§fn clone(&self) -> LayoutNodeDataPrototype
fn clone(&self) -> LayoutNodeDataPrototype
Returns a copy of the value. Read more
1.0.0 · 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 LayoutNodeDataPrototype
impl Debug for LayoutNodeDataPrototype
source§impl<'de> Deserialize<'de> for LayoutNodeDataPrototype
impl<'de> Deserialize<'de> for LayoutNodeDataPrototype
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<'de> JsonSerde<'de> for LayoutNodeDataPrototype
impl<'de> JsonSerde<'de> for LayoutNodeDataPrototype
source§fn to_json_str(&self) -> String
fn to_json_str(&self) -> String
Wrapper for json serialization.
source§fn to_pretty_json_str(&self) -> String
fn to_pretty_json_str(&self) -> String
Wrapper for pretty json serialization with indentation.
source§impl PartialEq for LayoutNodeDataPrototype
impl PartialEq for LayoutNodeDataPrototype
source§impl Serialize for LayoutNodeDataPrototype
impl Serialize for LayoutNodeDataPrototype
impl StructuralPartialEq for LayoutNodeDataPrototype
Auto Trait Implementations§
impl Freeze for LayoutNodeDataPrototype
impl RefUnwindSafe for LayoutNodeDataPrototype
impl Send for LayoutNodeDataPrototype
impl Sync for LayoutNodeDataPrototype
impl Unpin for LayoutNodeDataPrototype
impl UnwindSafe for LayoutNodeDataPrototype
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)