pub struct ComponentArguments {
pub args: ComponentArgumentVec,
pub accepts_text: bool,
}Expand description
Holds the list of arguments and whether the component accepts text content. Used by the compile pipeline to generate Rust function signatures.
Fields§
§args: ComponentArgumentVec§accepts_text: boolTrait Implementations§
Source§impl Clone for ComponentArguments
impl Clone for ComponentArguments
Source§fn clone(&self) -> ComponentArguments
fn clone(&self) -> ComponentArguments
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ComponentArguments
impl Debug for ComponentArguments
Source§impl Default for ComponentArguments
impl Default for ComponentArguments
Source§fn default() -> ComponentArguments
fn default() -> ComponentArguments
Returns the “default value” for a type. Read more
Source§impl Hash for ComponentArguments
impl Hash for ComponentArguments
Source§impl Ord for ComponentArguments
impl Ord for ComponentArguments
Source§fn cmp(&self, other: &ComponentArguments) -> Ordering
fn cmp(&self, other: &ComponentArguments) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ComponentArguments
impl PartialEq for ComponentArguments
Source§fn eq(&self, other: &ComponentArguments) -> bool
fn eq(&self, other: &ComponentArguments) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ComponentArguments
impl PartialOrd for ComponentArguments
impl Eq for ComponentArguments
impl StructuralPartialEq for ComponentArguments
Auto Trait Implementations§
impl Freeze for ComponentArguments
impl RefUnwindSafe for ComponentArguments
impl Send for ComponentArguments
impl Sync for ComponentArguments
impl Unpin for ComponentArguments
impl UnsafeUnpin for ComponentArguments
impl UnwindSafe for ComponentArguments
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