Struct comfyui_api::models::prompt::CLIPTextEncode
source · pub struct CLIPTextEncode {
pub text: Input<String>,
pub clip: NodeConnection,
}
Expand description
Struct representing a CLIPTextEncode node.
Fields§
§text: Input<String>
The text to encode.
clip: NodeConnection
The CLIP model input connection.
Trait Implementations§
source§impl Clone for CLIPTextEncode
impl Clone for CLIPTextEncode
source§fn clone(&self) -> CLIPTextEncode
fn clone(&self) -> CLIPTextEncode
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 CLIPTextEncode
impl Debug for CLIPTextEncode
source§impl<'de> Deserialize<'de> for CLIPTextEncode
impl<'de> Deserialize<'de> for CLIPTextEncode
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 CLIPTextEncode
impl Node for CLIPTextEncode
Auto Trait Implementations§
impl Freeze for CLIPTextEncode
impl RefUnwindSafe for CLIPTextEncode
impl Send for CLIPTextEncode
impl Sync for CLIPTextEncode
impl Unpin for CLIPTextEncode
impl UnwindSafe for CLIPTextEncode
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