pub struct AnkhaStruct {
pub meta: Option<Meta>,
pub name: String,
pub visibility: Visibility,
pub fields: Vec<AnkhaStructField>,
}Fields§
§meta: Option<Meta>§name: String§visibility: Visibility§fields: Vec<AnkhaStructField>Implementations§
Source§impl AnkhaStruct
impl AnkhaStruct
pub fn compile(&self, module_name: &str) -> ScriptStruct<'static>
Trait Implementations§
Source§impl Clone for AnkhaStruct
impl Clone for AnkhaStruct
Source§fn clone(&self) -> AnkhaStruct
fn clone(&self) -> AnkhaStruct
Returns a duplicate 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 AnkhaStruct
impl Debug for AnkhaStruct
Source§impl<'de> Deserialize<'de> for AnkhaStruct
impl<'de> Deserialize<'de> for AnkhaStruct
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 AnkhaStruct
impl PartialEq for AnkhaStruct
Source§impl Serialize for AnkhaStruct
impl Serialize for AnkhaStruct
impl StructuralPartialEq for AnkhaStruct
Auto Trait Implementations§
impl Freeze for AnkhaStruct
impl RefUnwindSafe for AnkhaStruct
impl Send for AnkhaStruct
impl Sync for AnkhaStruct
impl Unpin for AnkhaStruct
impl UnsafeUnpin for AnkhaStruct
impl UnwindSafe for AnkhaStruct
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