Struct biodivine_sketchbook::sketchbook::data_structs::_variable_data::VariableWithLayoutData
source · pub struct VariableWithLayoutData {
pub variable: VariableData,
pub layouts: Vec<LayoutNodeDataPrototype>,
}
Expand description
Structure for receiving data about Variable
and all of its Layout
data from the frontend.
Fields§
§variable: VariableData
§layouts: Vec<LayoutNodeDataPrototype>
Trait Implementations§
source§impl Clone for VariableWithLayoutData
impl Clone for VariableWithLayoutData
source§fn clone(&self) -> VariableWithLayoutData
fn clone(&self) -> VariableWithLayoutData
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 VariableWithLayoutData
impl Debug for VariableWithLayoutData
source§impl<'de> Deserialize<'de> for VariableWithLayoutData
impl<'de> Deserialize<'de> for VariableWithLayoutData
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 VariableWithLayoutData
impl<'de> JsonSerde<'de> for VariableWithLayoutData
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 VariableWithLayoutData
impl PartialEq for VariableWithLayoutData
source§impl Serialize for VariableWithLayoutData
impl Serialize for VariableWithLayoutData
impl StructuralPartialEq for VariableWithLayoutData
Auto Trait Implementations§
impl Freeze for VariableWithLayoutData
impl RefUnwindSafe for VariableWithLayoutData
impl Send for VariableWithLayoutData
impl Sync for VariableWithLayoutData
impl Unpin for VariableWithLayoutData
impl UnwindSafe for VariableWithLayoutData
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
)