pub struct Function {
pub name: String,
pub value: Vec<ComponentValue>,
}Expand description
§5.2 L1705-1708: A function has a name and a value (list of component values).
Fields§
§name: StringThe function name (e.g. “translate”, “var”). Does not include
the leading ident or the trailing (.
value: Vec<ComponentValue>The arguments: component values between ( and ).
Trait Implementations§
Auto Trait Implementations§
impl Forget for Function
impl Freeze for Function
impl RefUnwindSafe for Function
impl Send for Function
impl Sync for Function
impl Unpin for Function
impl UnsafeUnpin for Function
impl UnwindSafe for Function
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