#[repr(C)]pub struct DrmVersion {
pub version_major: c_int,
pub version_minor: c_int,
pub version_patchlevel: c_int,
/* private fields */
}
Fields§
§version_major: c_int
§version_minor: c_int
§version_patchlevel: c_int
Implementations§
Source§impl DrmVersion
impl DrmVersion
Source§impl DrmVersion
impl DrmVersion
pub unsafe fn set_name_ptr(&mut self, ptr: *mut i8, len: usize)
pub fn clear_name_ptr(&mut self)
pub fn name_len(&self) -> usize
pub unsafe fn set_date_ptr(&mut self, ptr: *mut i8, len: usize)
pub fn clear_date_ptr(&mut self)
pub fn date_len(&self) -> usize
pub unsafe fn set_desc_ptr(&mut self, ptr: *mut i8, len: usize)
pub fn clear_desc_ptr(&mut self)
pub fn desc_len(&self) -> usize
Trait Implementations§
Source§impl Clone for DrmVersion
impl Clone for DrmVersion
Source§fn clone(&self) -> DrmVersion
fn clone(&self) -> DrmVersion
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 DrmVersion
impl Debug for DrmVersion
Source§impl Default for DrmVersion
The default value is the result of Self::zeroed
.
impl Default for DrmVersion
The default value is the result of Self::zeroed
.
impl Copy for DrmVersion
Auto Trait Implementations§
impl Freeze for DrmVersion
impl RefUnwindSafe for DrmVersion
impl !Send for DrmVersion
impl !Sync for DrmVersion
impl Unpin for DrmVersion
impl UnwindSafe for DrmVersion
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