Skip to main content

VecProgressEntryData

Trait VecProgressEntryData 

Source
pub trait VecProgressEntryData: VecProgressEntry {
    type Data;

    // Required methods
    fn data(&self) -> &Self::Data;
    fn data_mut(&mut self) -> &mut Self::Data;
}
Expand description

Entry with application-owned data stored beside progress.

Required Associated Types§

Source

type Data

Application-owned data stored beside progress.

Required Methods§

Source

fn data(&self) -> &Self::Data

Return the application-owned data.

Source

fn data_mut(&mut self) -> &mut Self::Data

Return mutable application-owned data.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§