Struct bass_sys::TagCart

source ·
#[repr(C)]
pub struct TagCart {
Show 20 fields pub version: [c_char; 4], pub title: [c_char; 64], pub artist: [c_char; 64], pub cut_id: [c_char; 64], pub client_id: [c_char; 64], pub category: [c_char; 64], pub classification: [c_char; 64], pub out_cue: [c_char; 64], pub start_date: [c_char; 10], pub start_time: [c_char; 8], pub end_date: [c_char; 10], pub end_time: [c_char; 8], pub procuder_app_id: [c_char; 64], pub producer_app_version: [c_char; 64], pub user_text: [c_char; 64], pub sample_value_reference: DWORD, pub post_timer: [TagCartTimer; 8], pub reserved: [c_char; 276], pub url: [c_char; 1024], pub tag_text: [c_char; 0],
}

Fields§

§version: [c_char; 4]§title: [c_char; 64]§artist: [c_char; 64]§cut_id: [c_char; 64]§client_id: [c_char; 64]§category: [c_char; 64]§classification: [c_char; 64]§out_cue: [c_char; 64]§start_date: [c_char; 10]§start_time: [c_char; 8]§end_date: [c_char; 10]§end_time: [c_char; 8]§procuder_app_id: [c_char; 64]§producer_app_version: [c_char; 64]§user_text: [c_char; 64]§sample_value_reference: DWORD§post_timer: [TagCartTimer; 8]§reserved: [c_char; 276]§url: [c_char; 1024]§tag_text: [c_char; 0]

Implementations§

source§

impl TagCart

source

pub fn new<T: AsRef<[c_char]>>( version: [c_char; 4], title: [c_char; 64], artist: [c_char; 64], cut_id: [c_char; 64], client_id: [c_char; 64], category: [c_char; 64], classification: [c_char; 64], out_cue: [c_char; 64], start_date: [c_char; 10], start_time: [c_char; 8], end_date: [c_char; 10], end_time: [c_char; 8], procuder_app_id: [c_char; 64], producer_app_version: [c_char; 64], user_text: [c_char; 64], sample_value_reference: DWORD, post_timer: [TagCartTimer; 8], reserved: [c_char; 276], url: [c_char; 1024], tag_text: &T ) -> Result<Box<Self>, LayoutError>

Trait Implementations§

source§

impl Clone for TagCart

source§

fn clone(&self) -> TagCart

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for TagCart

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

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

const: unstable · source§

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

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

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

const: unstable · 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> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

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

fn clone_into(&self, target: &mut T)

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

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

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.
source§

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

§

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

The type returned in the event of a conversion error.
const: unstable · source§

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

Performs the conversion.