Trait UnscaledOutlineSink

Source
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§

Source

fn try_reserve(&mut self, additional: usize) -> Result<(), DrawError>

Source

fn push(&mut self, point: UnscaledPoint) -> Result<(), DrawError>

Provided Methods§

Source

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.

Implementors§