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§
fn props(&self) -> &LinkProperties
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.