pub struct LinkProps {
pub target: String,
pub label: String,
}Fields§
§target: StringRelative URL or an http, https, mailto or tel URL. Custom schemes are rejected; applications handle custom navigation through explicit host callbacks rather than putting executable or platform URLs in href.
label: StringImplementations§
Trait Implementations§
impl Eq for LinkProps
impl StructuralPartialEq for LinkProps
Auto Trait Implementations§
impl Forget for LinkProps
impl Freeze for LinkProps
impl Move for LinkProps
impl RefUnwindSafe for LinkProps
impl Send for LinkPropswhere
RawVecInner: Send,
impl Sync for LinkPropswhere
RawVecInner: Sync,
impl Unpin for LinkProps
impl UnsafeUnpin for LinkProps
impl UnwindSafe for LinkPropswhere
RawVecInner: UnwindSafe,
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