#[repr(C)]
pub struct BassSample {
Show 17 fields pub default_frequency: DWORD, pub volume: f32, pub pan: f32, pub flags: DWORD, pub length: DWORD, pub maximum_simultaneous_playbacks: DWORD, pub original_resolution: DWORD, pub number_of_channels: DWORD, pub minimum_gap: DWORD, pub mode_3d: DWORD, pub minimum_distance: f32, pub maximum_distance: f32, pub angle_of_inside_projection_cone: DWORD, pub angle_of_outside_projection_cone: DWORD, pub volume_delta_of_outside_projection_cone: f32, pub voice_allocation_flags: DWORD, pub priority: DWORD,
}

Fields

default_frequency: DWORDvolume: f32pan: f32flags: DWORDlength: DWORDmaximum_simultaneous_playbacks: DWORDoriginal_resolution: DWORDnumber_of_channels: DWORDminimum_gap: DWORDmode_3d: DWORDminimum_distance: f32maximum_distance: f32angle_of_inside_projection_cone: DWORDangle_of_outside_projection_cone: DWORDvolume_delta_of_outside_projection_cone: f32voice_allocation_flags: DWORDpriority: DWORD

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.