pub struct LinkProps {
pub href: String,
pub class: Option<String>,
pub prefetch: bool,
pub replace: bool,
}Expand description
Props for Link!; the macro uses attribute helpers directly, this type
exists for programmatic construction.
Fields§
§href: String§class: Option<String>§prefetch: bool§replace: boolTrait Implementations§
Auto Trait Implementations§
impl Forget for LinkProps
impl Freeze for LinkProps
impl Move for LinkProps
impl RefUnwindSafe for LinkProps
impl Send for LinkProps
impl Sync for LinkProps
impl Unpin for LinkProps
impl UnsafeUnpin for LinkProps
impl UnwindSafe for LinkProps
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