pub struct ModelSlot {
pub pattern: &'static str,
pub default_name: &'static str,
pub purpose: &'static str,
pub domain: &'static str,
pub license: &'static str,
pub runnable: bool,
}Expand description
A registry slot for a denoise-family model. The models crate can list these to know
which names ferraus models pull should offer for denoising.
Fields§
§pattern: &'static strRegistry name pattern (denoise/dfn3, denoise/music-*, denoise/dereverb-*).
default_name: &'static strThe concrete name used in hints.
purpose: &'static str§domain: &'static str§license: &'static str§runnable: boolWhether this build can run the model once it is cached.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModelSlot
impl RefUnwindSafe for ModelSlot
impl Send for ModelSlot
impl Sync for ModelSlot
impl Unpin for ModelSlot
impl UnsafeUnpin for ModelSlot
impl UnwindSafe for ModelSlot
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
impl<T> CloneAny for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more