pub trait FontWithLpRp: Font {
// Required methods
fn get_lp(&self, c: Self::Char) -> Self::Int;
fn set_lp(&mut self, c: Self::Char, d: Self::Int);
fn get_rp(&self, c: Self::Char) -> Self::Int;
fn set_rp(&mut self, c: Self::Char, d: Self::Int);
}Required Methods§
fn get_lp(&self, c: Self::Char) -> Self::Int
fn set_lp(&mut self, c: Self::Char, d: Self::Int)
fn get_rp(&self, c: Self::Char) -> Self::Int
fn set_rp(&mut self, c: Self::Char, d: Self::Int)
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.