Struct leptos_hot_reload::ViewMacros
source · pub struct ViewMacros { /* private fields */ }
Implementations§
source§impl ViewMacros
impl ViewMacros
pub fn new() -> Self
pub fn update_from_paths<T: AsRef<Path>>(&self, paths: &[T]) -> Result<()>
pub fn parse_file(path: &Utf8PathBuf) -> Result<Vec<MacroInvocation>>
pub fn patch(&self, path: &Utf8PathBuf) -> Result<Option<Patches>>
Trait Implementations§
source§impl Clone for ViewMacros
impl Clone for ViewMacros
source§fn clone(&self) -> ViewMacros
fn clone(&self) -> ViewMacros
Returns a copy of the value. Read more
1.0.0 · 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 ViewMacros
impl Debug for ViewMacros
source§impl Default for ViewMacros
impl Default for ViewMacros
source§fn default() -> ViewMacros
fn default() -> ViewMacros
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for ViewMacros
impl Send for ViewMacros
impl Sync for ViewMacros
impl Unpin for ViewMacros
impl !UnwindSafe for ViewMacros
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