Struct xcb::xv::EncodingInfoBuf
source · pub struct EncodingInfoBuf { /* private fields */ }
Implementations§
source§impl EncodingInfoBuf
impl EncodingInfoBuf
sourcepub fn new(
encoding: Encoding,
width: u16,
height: u16,
rate: Rational,
name: &[u8],
) -> EncodingInfoBuf
pub fn new( encoding: Encoding, width: u16, height: u16, rate: Rational, name: &[u8], ) -> EncodingInfoBuf
Construct a new EncodingInfoBuf.
Methods from Deref<Target = EncodingInfo>§
pub fn encoding(&self) -> Encoding
pub fn width(&self) -> u16
pub fn height(&self) -> u16
pub fn rate(&self) -> Rational
pub fn name(&self) -> &Lat1Str
Trait Implementations§
source§impl Borrow<EncodingInfo> for EncodingInfoBuf
impl Borrow<EncodingInfo> for EncodingInfoBuf
source§fn borrow(&self) -> &EncodingInfo
fn borrow(&self) -> &EncodingInfo
Immutably borrows from an owned value. Read more
source§impl Clone for EncodingInfoBuf
impl Clone for EncodingInfoBuf
source§fn clone(&self) -> EncodingInfoBuf
fn clone(&self) -> EncodingInfoBuf
Returns a copy 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 EncodingInfoBuf
impl Debug for EncodingInfoBuf
Auto Trait Implementations§
impl Freeze for EncodingInfoBuf
impl RefUnwindSafe for EncodingInfoBuf
impl Send for EncodingInfoBuf
impl Sync for EncodingInfoBuf
impl Unpin for EncodingInfoBuf
impl UnwindSafe for EncodingInfoBuf
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)