Struct comfyui_api::comfy::PromptBuilder
source · pub struct PromptBuilder { /* private fields */ }
Expand description
A builder for creating a Prompt
instance.
Implementations§
source§impl PromptBuilder
impl PromptBuilder
sourcepub fn negative_prompt(self, value: String, node: Option<String>) -> Self
pub fn negative_prompt(self, value: String, node: Option<String>) -> Self
Sets the negative prompt.
§Arguments
value
- The negative prompt value to use.node
- The node to set the negative prompt on.
Trait Implementations§
source§impl Clone for PromptBuilder
impl Clone for PromptBuilder
source§fn clone(&self) -> PromptBuilder
fn clone(&self) -> PromptBuilder
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 moreAuto Trait Implementations§
impl Freeze for PromptBuilder
impl !RefUnwindSafe for PromptBuilder
impl Send for PromptBuilder
impl Sync for PromptBuilder
impl Unpin for PromptBuilder
impl !UnwindSafe for PromptBuilder
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