Struct comfyui_api::models::prompt::SamplerCustom
source · pub struct SamplerCustom {
pub add_noise: Input<bool>,
pub cfg: Input<f32>,
pub noise_seed: Input<i64>,
pub latent_image: NodeConnection,
pub model: NodeConnection,
pub positive: NodeConnection,
pub negative: NodeConnection,
pub sampler: NodeConnection,
pub sigmas: NodeConnection,
}
Expand description
Struct representing a SamplerCustom node.
Fields§
§add_noise: Input<bool>
Whether or not to add noise.
cfg: Input<f32>
The cfg scale.
noise_seed: Input<i64>
The seed.
latent_image: NodeConnection
Latent image input connection.
model: NodeConnection
The model input connection.
positive: NodeConnection
The positive conditioning input connection.
negative: NodeConnection
The negative conditioning input connection.
sampler: NodeConnection
The sampler input connection.
sigmas: NodeConnection
The sigmas from the scheduler.
Trait Implementations§
source§impl Clone for SamplerCustom
impl Clone for SamplerCustom
source§fn clone(&self) -> SamplerCustom
fn clone(&self) -> SamplerCustom
Returns a copy of the value. Read more
1.0.0 · 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 SamplerCustom
impl Debug for SamplerCustom
source§impl<'de> Deserialize<'de> for SamplerCustom
impl<'de> Deserialize<'de> for SamplerCustom
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 Node for SamplerCustom
impl Node for SamplerCustom
Auto Trait Implementations§
impl Freeze for SamplerCustom
impl RefUnwindSafe for SamplerCustom
impl Send for SamplerCustom
impl Sync for SamplerCustom
impl Unpin for SamplerCustom
impl UnwindSafe for SamplerCustom
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