bSound

Struct bSound 

Source
#[repr(C, packed(4))]
pub struct bSound {
Show 20 fields pub id: ID, pub name: [i8; 1024], pub packedfile: Pointer<PackedFile>, pub handle: Pointer<Void>, pub newpackedfile: Pointer<PackedFile>, pub ipo: Pointer<Ipo>, pub volume: f32, pub attenuation: f32, pub pitch: f32, pub min_gain: f32, pub max_gain: f32, pub distance: f32, pub flags: i16, pub tags: i16, pub _pad: [i8; 4], pub offset_time: f64, pub cache: Pointer<Void>, pub waveform: Pointer<Void>, pub playback_handle: Pointer<Void>, pub spinlock: Pointer<Void>,
}

Fields§

§id: ID§name: [i8; 1024]§packedfile: Pointer<PackedFile>§handle: Pointer<Void>§newpackedfile: Pointer<PackedFile>§ipo: Pointer<Ipo>§volume: f32§attenuation: f32§pitch: f32§min_gain: f32§max_gain: f32§distance: f32§flags: i16§tags: i16§_pad: [i8; 4]§offset_time: f64§cache: Pointer<Void>§waveform: Pointer<Void>§playback_handle: Pointer<Void>§spinlock: Pointer<Void>

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for bSound

§

impl RefUnwindSafe for bSound

§

impl Send for bSound

§

impl Sync for bSound

§

impl Unpin for bSound

§

impl UnwindSafe for bSound

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.