pub struct OpsDescriptor {
pub meta: Vec<Meta>,
pub rules: Vec<OpRule>,
}
Fields§
§meta: Vec<Meta>
§rules: Vec<OpRule>
Implementations§
Source§impl OpsDescriptor
impl OpsDescriptor
pub fn from_ast(ast: &AstOpsDescriptor) -> CompilationResult<Self>
pub fn merge(descriptors: &[OpsDescriptor]) -> Self
Trait Implementations§
Source§impl Clone for OpsDescriptor
impl Clone for OpsDescriptor
Source§fn clone(&self) -> OpsDescriptor
fn clone(&self) -> OpsDescriptor
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 OpsDescriptor
impl Debug for OpsDescriptor
Source§impl Default for OpsDescriptor
impl Default for OpsDescriptor
Source§fn default() -> OpsDescriptor
fn default() -> OpsDescriptor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for OpsDescriptor
impl<'de> Deserialize<'de> for OpsDescriptor
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 OpsDescriptor
impl RefUnwindSafe for OpsDescriptor
impl Send for OpsDescriptor
impl Sync for OpsDescriptor
impl Unpin for OpsDescriptor
impl UnwindSafe for OpsDescriptor
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