pub trait ImageLocation: Display {
// Required method
fn sources(&self) -> Result<Vec<ImageSource>>;
// Provided method
fn require_signature(&self) -> bool { ... }
}Required Methods§
fn sources(&self) -> Result<Vec<ImageSource>>
Provided Methods§
fn require_signature(&self) -> bool
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".