pub struct A2dpEndpoint {
pub codec: A2dpCodec,
pub sample_rate: u32,
pub channels: u8,
pub bitpool_min: u8,
pub bitpool_max: u8,
}Expand description
A2DP stream endpoint
Fields§
§codec: A2dpCodecCodec type
sample_rate: u32Sample rate in Hz
channels: u8Number of channels (1 = mono, 2 = stereo)
bitpool_min: u8Minimum bitpool value
bitpool_max: u8Maximum bitpool value
Trait Implementations§
Source§impl Clone for A2dpEndpoint
impl Clone for A2dpEndpoint
Source§fn clone(&self) -> A2dpEndpoint
fn clone(&self) -> A2dpEndpoint
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for A2dpEndpoint
impl Debug for A2dpEndpoint
Source§impl Default for A2dpEndpoint
impl Default for A2dpEndpoint
impl Copy for A2dpEndpoint
Auto Trait Implementations§
impl Freeze for A2dpEndpoint
impl RefUnwindSafe for A2dpEndpoint
impl Send for A2dpEndpoint
impl Sync for A2dpEndpoint
impl Unpin for A2dpEndpoint
impl UnwindSafe for A2dpEndpoint
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)