pub struct DiffusersPipelineProfile {
pub modality: Modality,
pub capabilities: Vec<Capability>,
pub params: Vec<ParamSpec>,
}Expand description
The resolved shape of a diffusers pipeline: what it produces and the sampler parameters it exposes.
Fields§
§modality: ModalityWhat the pipeline generates.
capabilities: Vec<Capability>The capabilities it serves.
params: Vec<ParamSpec>Its tunable parameter schema.
Trait Implementations§
Source§impl Clone for DiffusersPipelineProfile
impl Clone for DiffusersPipelineProfile
Source§fn clone(&self) -> DiffusersPipelineProfile
fn clone(&self) -> DiffusersPipelineProfile
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DiffusersPipelineProfile
impl Debug for DiffusersPipelineProfile
Source§impl PartialEq for DiffusersPipelineProfile
impl PartialEq for DiffusersPipelineProfile
impl StructuralPartialEq for DiffusersPipelineProfile
Auto Trait Implementations§
impl Freeze for DiffusersPipelineProfile
impl RefUnwindSafe for DiffusersPipelineProfile
impl Send for DiffusersPipelineProfile
impl Sync for DiffusersPipelineProfile
impl Unpin for DiffusersPipelineProfile
impl UnsafeUnpin for DiffusersPipelineProfile
impl UnwindSafe for DiffusersPipelineProfile
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