pub struct LeptosProvider { /* private fields */ }Expand description
Provider for leptos command options
Implementations§
Trait Implementations§
Source§impl Default for LeptosProvider
impl Default for LeptosProvider
Source§impl OptionProvider for LeptosProvider
impl OptionProvider for LeptosProvider
Source§fn get_options(&self, command: &str) -> Vec<OptionDef>
fn get_options(&self, command: &str) -> Vec<OptionDef>
Get all options available for a specific command
Source§fn validate(
&self,
command: &str,
option: &str,
value: Option<&str>,
) -> ValidationResult<()>
fn validate( &self, command: &str, option: &str, value: Option<&str>, ) -> ValidationResult<()>
Validate a specific option and its value
Source§fn get_commands(&self) -> Vec<String>
fn get_commands(&self) -> Vec<String>
Get commands supported by this provider
Source§fn supports_command(&self, command: &str) -> bool
fn supports_command(&self, command: &str) -> bool
Check if this provider supports a specific command
Auto Trait Implementations§
impl Freeze for LeptosProvider
impl RefUnwindSafe for LeptosProvider
impl Send for LeptosProvider
impl Sync for LeptosProvider
impl Unpin for LeptosProvider
impl UnwindSafe for LeptosProvider
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