pub struct Parameter {
pub name: String,
pub syntax: Option<String>,
pub default_value: Option<Vec<u32>>,
}Expand description
mixin or custom function parameter
Fields§
§name: String§syntax: Option<String>syntax of the parameter type: <color>, <length> | auto. None when the parameter is not typed
default_value: Option<Vec<u32>>default value tokens
Trait Implementations§
Auto Trait Implementations§
impl Forget for Parameter
impl Freeze for Parameter
impl Move for Parameter
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnsafeUnpin for Parameter
impl UnwindSafe for Parameter
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