Struct wac_graph::EncodeOptions
source · pub struct EncodeOptions<'a> {
pub define_components: bool,
pub validate: bool,
pub processor: Option<Processor<'a>>,
}Expand description
The options for encoding a composition graph.
Fields§
§define_components: boolWhether or not to define instantiated components.
If false, components will be imported instead.
Defaults to true.
validate: boolWhether or not to validate the encoded output.
Defaults to true.
processor: Option<Processor<'a>>Information about the processor of the composition graph.
Trait Implementations§
source§impl<'a> Clone for EncodeOptions<'a>
impl<'a> Clone for EncodeOptions<'a>
source§fn clone(&self) -> EncodeOptions<'a>
fn clone(&self) -> EncodeOptions<'a>
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<'a> Debug for EncodeOptions<'a>
impl<'a> Debug for EncodeOptions<'a>
source§impl Default for EncodeOptions<'_>
impl Default for EncodeOptions<'_>
source§impl<'a> PartialEq for EncodeOptions<'a>
impl<'a> PartialEq for EncodeOptions<'a>
source§fn eq(&self, other: &EncodeOptions<'a>) -> bool
fn eq(&self, other: &EncodeOptions<'a>) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl<'a> Copy for EncodeOptions<'a>
impl<'a> Eq for EncodeOptions<'a>
impl<'a> StructuralPartialEq for EncodeOptions<'a>
Auto Trait Implementations§
impl<'a> Freeze for EncodeOptions<'a>
impl<'a> RefUnwindSafe for EncodeOptions<'a>
impl<'a> Send for EncodeOptions<'a>
impl<'a> Sync for EncodeOptions<'a>
impl<'a> Unpin for EncodeOptions<'a>
impl<'a> UnwindSafe for EncodeOptions<'a>
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.