pub enum EmitMethod {
Emit,
EmitImportRef,
EmitBindingRef,
}Expand description
Which method of an emitter a call runs.
Variants§
Emit
The resources or blocks that back the resource
EmitImportRef
The expression that resolves to the importer’s input once the template is applied
EmitBindingRef
The expression that resolves to the resource’s runtime binding, if it has one
Trait Implementations§
Source§impl Clone for EmitMethod
impl Clone for EmitMethod
impl Copy for EmitMethod
Source§impl Debug for EmitMethod
impl Debug for EmitMethod
Source§impl<'de> Deserialize<'de> for EmitMethod
impl<'de> Deserialize<'de> for EmitMethod
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
impl Eq for EmitMethod
Source§impl PartialEq for EmitMethod
impl PartialEq for EmitMethod
Source§impl Serialize for EmitMethod
impl Serialize for EmitMethod
impl StructuralPartialEq for EmitMethod
Auto Trait Implementations§
impl Forget for EmitMethod
impl Freeze for EmitMethod
impl Move for EmitMethod
impl RefUnwindSafe for EmitMethod
impl Send for EmitMethod
impl Sync for EmitMethod
impl Unpin for EmitMethod
impl UnsafeUnpin for EmitMethod
impl UnwindSafe for EmitMethod
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.