#[repr(C)]pub struct sd_sample_params_t {
pub guidance: sd_guidance_params_t,
pub scheduler: scheduler_t,
pub sample_method: sample_method_t,
pub sample_steps: c_int,
pub eta: f32,
pub shifted_timestep: c_int,
pub custom_sigmas: *mut f32,
pub custom_sigmas_count: c_int,
}Fields§
§guidance: sd_guidance_params_t§scheduler: scheduler_t§sample_method: sample_method_t§sample_steps: c_int§eta: f32§shifted_timestep: c_int§custom_sigmas: *mut f32§custom_sigmas_count: c_intTrait Implementations§
Source§impl Clone for sd_sample_params_t
impl Clone for sd_sample_params_t
Source§fn clone(&self) -> sd_sample_params_t
fn clone(&self) -> sd_sample_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_sample_params_t
impl Debug for sd_sample_params_t
impl Copy for sd_sample_params_t
Auto Trait Implementations§
impl Freeze for sd_sample_params_t
impl RefUnwindSafe for sd_sample_params_t
impl !Send for sd_sample_params_t
impl !Sync for sd_sample_params_t
impl Unpin for sd_sample_params_t
impl UnwindSafe for sd_sample_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