pub struct TransformationAST {
pub version: String,
pub commands: Vec<Command>,
pub commands_meta: IndexMap<usize, CommandMeta>,
pub meta: HashMap<String, String>,
}
Fields§
§version: String
§commands: Vec<Command>
§commands_meta: IndexMap<usize, CommandMeta>
§meta: HashMap<String, String>
Implementations§
Source§impl TransformationAST
impl TransformationAST
pub fn new() -> TransformationAST
Trait Implementations§
Source§impl Clone for TransformationAST
impl Clone for TransformationAST
Source§fn clone(&self) -> TransformationAST
fn clone(&self) -> TransformationAST
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 TransformationAST
impl Debug for TransformationAST
Source§impl Default for TransformationAST
impl Default for TransformationAST
Source§fn default() -> TransformationAST
fn default() -> TransformationAST
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TransformationAST
impl<'de> Deserialize<'de> for TransformationAST
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransformationAST, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TransformationAST, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TransformationAST
impl PartialEq for TransformationAST
Source§impl Serialize for TransformationAST
impl Serialize for TransformationAST
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TransformationAST
Auto Trait Implementations§
impl Freeze for TransformationAST
impl RefUnwindSafe for TransformationAST
impl Send for TransformationAST
impl Sync for TransformationAST
impl Unpin for TransformationAST
impl UnwindSafe for TransformationAST
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