Skip to main content

dvb_entry

Struct dvb_entry 

Source
#[repr(C)]
pub struct dvb_entry {
Show 19 fields pub props: [dtv_property; 70], pub n_props: c_uint, pub next: *mut dvb_entry, pub service_id: u16, pub video_pid: *mut u16, pub audio_pid: *mut u16, pub other_el_pid: *mut dvb_elementary_pid, pub video_pid_len: c_uint, pub audio_pid_len: c_uint, pub other_el_pid_len: c_uint, pub channel: *mut c_char, pub vchannel: *mut c_char, pub location: *mut c_char, pub sat_number: c_int, pub freq_bpf: c_uint, pub diseqc_wait: c_uint, pub lnb: *mut c_char, pub network_id: u16, pub transport_id: u16,
}

Fields§

§props: [dtv_property; 70]§n_props: c_uint§next: *mut dvb_entry§service_id: u16§video_pid: *mut u16§audio_pid: *mut u16§other_el_pid: *mut dvb_elementary_pid§video_pid_len: c_uint§audio_pid_len: c_uint§other_el_pid_len: c_uint§channel: *mut c_char§vchannel: *mut c_char§location: *mut c_char§sat_number: c_int§freq_bpf: c_uint§diseqc_wait: c_uint§lnb: *mut c_char§network_id: u16§transport_id: u16

Trait Implementations§

Source§

impl Clone for dvb_entry

Source§

fn clone(&self) -> dvb_entry

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Copy for dvb_entry

Source§

impl Debug for dvb_entry

A manually written implementation of Debug for dvb_entry.

Bindgen does not mark dvb_entry as #[derive(Debug)# because the props field is an array of 70 dtv_property items. Hence this manual realisation.

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.