Trait LinkExt

Source
pub trait LinkExt: Link {
    // Required methods
    fn props(&self) -> &LinkProperties;
    fn props_mut(&mut self) -> &mut LinkProperties;
}
Expand description

The Link Extension Trait

This trait provides generic access to a link’s properties

Required Methods§

Source

fn props(&self) -> &LinkProperties

Source

fn props_mut(&mut self) -> &mut LinkProperties

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§