#[repr(C)]pub struct sd_vid_gen_params_t {Show 19 fields
pub loras: *const sd_lora_t,
pub lora_count: u32,
pub prompt: *const c_char,
pub negative_prompt: *const c_char,
pub clip_skip: c_int,
pub init_image: sd_image_t,
pub end_image: sd_image_t,
pub control_frames: *mut sd_image_t,
pub control_frames_size: c_int,
pub width: c_int,
pub height: c_int,
pub sample_params: sd_sample_params_t,
pub high_noise_sample_params: sd_sample_params_t,
pub moe_boundary: f32,
pub strength: f32,
pub seed: i64,
pub video_frames: c_int,
pub vace_strength: f32,
pub cache: sd_cache_params_t,
}Fields§
§loras: *const sd_lora_t§lora_count: u32§prompt: *const c_char§negative_prompt: *const c_char§clip_skip: c_int§init_image: sd_image_t§end_image: sd_image_t§control_frames: *mut sd_image_t§control_frames_size: c_int§width: c_int§height: c_int§sample_params: sd_sample_params_t§high_noise_sample_params: sd_sample_params_t§moe_boundary: f32§strength: f32§seed: i64§video_frames: c_int§vace_strength: f32§cache: sd_cache_params_tTrait Implementations§
Source§impl Clone for sd_vid_gen_params_t
impl Clone for sd_vid_gen_params_t
Source§fn clone(&self) -> sd_vid_gen_params_t
fn clone(&self) -> sd_vid_gen_params_t
Returns a duplicate 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 sd_vid_gen_params_t
impl Debug for sd_vid_gen_params_t
impl Copy for sd_vid_gen_params_t
Auto Trait Implementations§
impl Freeze for sd_vid_gen_params_t
impl RefUnwindSafe for sd_vid_gen_params_t
impl !Send for sd_vid_gen_params_t
impl !Sync for sd_vid_gen_params_t
impl Unpin for sd_vid_gen_params_t
impl UnwindSafe for sd_vid_gen_params_t
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