Struct xcb::xv::AdaptorInfoBuf
source · pub struct AdaptorInfoBuf { /* private fields */ }
Implementations§
source§impl AdaptorInfoBuf
impl AdaptorInfoBuf
sourcepub fn new(
base_id: Port,
num_ports: u16,
type: Type,
name: &[u8],
formats: &[Format],
) -> AdaptorInfoBuf
pub fn new( base_id: Port, num_ports: u16, type: Type, name: &[u8], formats: &[Format], ) -> AdaptorInfoBuf
Construct a new AdaptorInfoBuf.
Methods from Deref<Target = AdaptorInfo>§
pub fn base_id(&self) -> Port
pub fn num_ports(&self) -> u16
pub fn type(&self) -> Type
pub fn name(&self) -> &Lat1Str
pub fn formats(&self) -> &[Format]
Trait Implementations§
source§impl Borrow<AdaptorInfo> for AdaptorInfoBuf
impl Borrow<AdaptorInfo> for AdaptorInfoBuf
source§fn borrow(&self) -> &AdaptorInfo
fn borrow(&self) -> &AdaptorInfo
Immutably borrows from an owned value. Read more
source§impl Clone for AdaptorInfoBuf
impl Clone for AdaptorInfoBuf
source§fn clone(&self) -> AdaptorInfoBuf
fn clone(&self) -> AdaptorInfoBuf
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 AdaptorInfoBuf
impl Debug for AdaptorInfoBuf
Auto Trait Implementations§
impl Freeze for AdaptorInfoBuf
impl RefUnwindSafe for AdaptorInfoBuf
impl Send for AdaptorInfoBuf
impl Sync for AdaptorInfoBuf
impl Unpin for AdaptorInfoBuf
impl UnwindSafe for AdaptorInfoBuf
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
)