pub(super) trait UnscaledOutlineSink {
// Required methods
fn try_reserve(&mut self, additional: usize) -> Result<(), DrawError>;
fn push(&mut self, point: UnscaledPoint) -> Result<(), DrawError>;
// Provided method
fn extend(
&mut self,
points: impl IntoIterator<Item = UnscaledPoint>,
) -> Result<(), DrawError> { ... }
}
Required Methods§
fn try_reserve(&mut self, additional: usize) -> Result<(), DrawError>
fn push(&mut self, point: UnscaledPoint) -> Result<(), DrawError>
Provided Methods§
fn extend( &mut self, points: impl IntoIterator<Item = UnscaledPoint>, ) -> Result<(), DrawError>
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.