#[repr(C)]pub struct libvlc_media_track_t {
pub i_codec: u32,
pub i_original_fourcc: u32,
pub i_id: c_int,
pub i_type: libvlc_track_type_t,
pub i_profile: c_int,
pub i_level: c_int,
pub u: u,
pub i_bitrate: c_uint,
pub psz_language: *mut c_char,
pub psz_description: *mut c_char,
}
Fields§
§i_codec: u32
§i_original_fourcc: u32
§i_id: c_int
§i_type: libvlc_track_type_t
§i_profile: c_int
§i_level: c_int
§u: u
§i_bitrate: c_uint
§psz_language: *mut c_char
§psz_description: *mut c_char
Implementations§
Source§impl libvlc_media_track_t
impl libvlc_media_track_t
pub unsafe fn audio(&self) -> *mut libvlc_audio_track_t
pub unsafe fn video(&self) -> *mut libvlc_video_track_t
pub unsafe fn subtitle(&self) -> *mut libvlc_subtitle_track_t
Trait Implementations§
Source§impl Clone for libvlc_media_track_t
impl Clone for libvlc_media_track_t
Source§fn clone(&self) -> libvlc_media_track_t
fn clone(&self) -> libvlc_media_track_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 moreimpl Copy for libvlc_media_track_t
Auto Trait Implementations§
impl Freeze for libvlc_media_track_t
impl RefUnwindSafe for libvlc_media_track_t
impl !Send for libvlc_media_track_t
impl !Sync for libvlc_media_track_t
impl Unpin for libvlc_media_track_t
impl UnwindSafe for libvlc_media_track_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