pub trait FrameSource:
Sync
+ Send
+ Default
+ Clone
+ PartialEq
+ 'static {
type Source: FrameSource;
// Required method
fn source(&self) -> &Self::Source;
// Provided methods
fn kind(&self) -> FrameSourceKind { ... }
fn url(&self) -> &str { ... }
fn name(&self) -> &str { ... }
}
Required Associated Types§
type Source: FrameSource
Required Methods§
Provided Methods§
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.