pub struct SimpletonStruct {
pub name: String,
pub fields: Vec<String>,
}
Fields§
§name: String
§fields: Vec<String>
Implementations§
Source§impl SimpletonStruct
impl SimpletonStruct
pub fn compile(&self, module_name: &str) -> ScriptStruct<'static>
Trait Implementations§
Source§impl Clone for SimpletonStruct
impl Clone for SimpletonStruct
Source§fn clone(&self) -> SimpletonStruct
fn clone(&self) -> SimpletonStruct
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 SimpletonStruct
impl Debug for SimpletonStruct
Source§impl<'de> Deserialize<'de> for SimpletonStruct
impl<'de> Deserialize<'de> for SimpletonStruct
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 SimpletonStruct
impl RefUnwindSafe for SimpletonStruct
impl Send for SimpletonStruct
impl Sync for SimpletonStruct
impl Unpin for SimpletonStruct
impl UnwindSafe for SimpletonStruct
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