pub struct ScheduleConfigs { /* private fields */ }
Expand description
A list of ScheduleConfig
objects to be used for scheduling the forward computation in MNN.
Implementations§
source§impl ScheduleConfigs
impl ScheduleConfigs
sourcepub fn push(&mut self, config: ScheduleConfig)
pub fn push(&mut self, config: ScheduleConfig)
Pushed a new ScheduleConfig
to the list of configurations.
sourcepub fn with_capacity(capacity: usize) -> Self
pub fn with_capacity(capacity: usize) -> Self
Creates a new (empty) ScheduleConfigs
with the specified capacity.
Trait Implementations§
source§impl Debug for ScheduleConfigs
impl Debug for ScheduleConfigs
source§impl Default for ScheduleConfigs
impl Default for ScheduleConfigs
source§impl Drop for ScheduleConfigs
impl Drop for ScheduleConfigs
source§impl FromIterator<ScheduleConfig> for ScheduleConfigs
impl FromIterator<ScheduleConfig> for ScheduleConfigs
source§fn from_iter<T: IntoIterator<Item = ScheduleConfig>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = ScheduleConfig>>(iter: T) -> Self
Creates a value from an iterator. Read more
impl Send for ScheduleConfigs
Auto Trait Implementations§
impl Freeze for ScheduleConfigs
impl RefUnwindSafe for ScheduleConfigs
impl !Sync for ScheduleConfigs
impl Unpin for ScheduleConfigs
impl UnwindSafe for ScheduleConfigs
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more