pub struct MarkupArguments<'a> { /* private fields */ }Expand description
The arguments of an untyped call, read in order by a generated invoker.
Implementations§
Source§impl<'a> MarkupArguments<'a>
impl<'a> MarkupArguments<'a>
Sourcepub fn new(
arguments: &'a [MarkupValue],
expected: usize,
) -> Result<Self, MarkupInvokeError>
pub fn new( arguments: &'a [MarkupValue], expected: usize, ) -> Result<Self, MarkupInvokeError>
Checks the number of arguments.
Sourcepub fn next<T: Clone + 'static>(&mut self) -> Result<T, MarkupInvokeError>
pub fn next<T: Clone + 'static>(&mut self) -> Result<T, MarkupInvokeError>
The next argument, as a T.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for MarkupArguments<'a>
impl<'a> !Send for MarkupArguments<'a>
impl<'a> !Sync for MarkupArguments<'a>
impl<'a> !UnwindSafe for MarkupArguments<'a>
impl<'a> Freeze for MarkupArguments<'a>
impl<'a> Unpin for MarkupArguments<'a>
impl<'a> UnsafeUnpin for MarkupArguments<'a>
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> ClassDefaults for Twhere
T: ?Sized,
impl<T> ClassDefaults for Twhere
T: ?Sized,
Source§fn static_constructor()
fn static_constructor()
The static constructor of a type: work done once per thread, after
the properties of the type are registered and before its first
instance exists (class handlers,
affects_render, metadata
overrides). Read more