pub struct StableDiffusionConfig {}Implementations§
source§impl StableDiffusionConfig
impl StableDiffusionConfig
pub fn init<B: Backend>(&self) -> StableDiffusion<B>
Trait Implementations§
source§impl Clone for StableDiffusionConfig
impl Clone for StableDiffusionConfig
source§impl Config for StableDiffusionConfig
impl Config for StableDiffusionConfig
source§impl<'de> Deserialize<'de> for StableDiffusionConfig
impl<'de> Deserialize<'de> for StableDiffusionConfig
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Display for StableDiffusionConfig
impl Display for StableDiffusionConfig
Auto Trait Implementations§
impl RefUnwindSafe for StableDiffusionConfig
impl Send for StableDiffusionConfig
impl Sync for StableDiffusionConfig
impl Unpin for StableDiffusionConfig
impl UnwindSafe for StableDiffusionConfig
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