pub struct YamlCompileContext {
pub stack: Vec<Value>,
pub root: Option<Value>,
}Expand description
Public struct YamlCompileContext used by this module.
§Fields
stack: Stored field onYamlCompileContext.root: Stored field onYamlCompileContext.
§Examples
ⓘ
let _ = std::mem::size_of::<pharos_runtime_compiler::declarative::YamlCompileContext>();§Related
crate::declarativefor constructors, helpers, and neighboring runtime types.
Fields§
§stack: Vec<Value>§root: Option<Value>Trait Implementations§
Source§impl Clone for YamlCompileContext
impl Clone for YamlCompileContext
Source§fn clone(&self) -> YamlCompileContext
fn clone(&self) -> YamlCompileContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 YamlCompileContext
impl Debug for YamlCompileContext
Source§impl Default for YamlCompileContext
impl Default for YamlCompileContext
Source§fn default() -> YamlCompileContext
fn default() -> YamlCompileContext
Returns the “default value” for a type. Read more
Source§impl PartialEq for YamlCompileContext
impl PartialEq for YamlCompileContext
Source§fn eq(&self, other: &YamlCompileContext) -> bool
fn eq(&self, other: &YamlCompileContext) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for YamlCompileContext
impl StructuralPartialEq for YamlCompileContext
Auto Trait Implementations§
impl Freeze for YamlCompileContext
impl RefUnwindSafe for YamlCompileContext
impl Send for YamlCompileContext
impl Sync for YamlCompileContext
impl Unpin for YamlCompileContext
impl UnsafeUnpin for YamlCompileContext
impl UnwindSafe for YamlCompileContext
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.