pub struct RefCall {
pub function: RefFunction,
pub args: Vec<JsValue>,
pub text: String,
pub token: String,
pub nested: bool,
}Expand description
One ref(...), resolve(...), self() or when(...) call in a masked interpolation.
Fields§
§function: RefFunction§args: Vec<JsValue>The arguments; computed ones are JsValue::Expression.
text: StringThe call as written (ref("ds", "t")).
token: StringThe sentinel of the interpolation the call is in.
nested: boolInside another call’s arguments (when(incremental(), … ${self()})).
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for RefCall
impl<'de> Deserialize<'de> for RefCall
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 RefCall
impl StructuralPartialEq for RefCall
Auto Trait Implementations§
impl Forget for RefCall
impl Freeze for RefCall
impl Move for RefCall
impl RefUnwindSafe for RefCall
impl Send for RefCall
impl Sync for RefCall
impl Unpin for RefCall
impl UnsafeUnpin for RefCallwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<JsValue>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for RefCall
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<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.