Skip to main content

dvb_desc_sat

Struct dvb_desc_sat 

Source
#[repr(C, packed(1))]
pub struct dvb_desc_sat { pub type_: u8, pub length: u8, pub next: *mut dvb_desc, pub frequency: u32, pub orbit: u16, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>, pub __bindgen_anon_1: dvb_desc_sat__bindgen_ty_1, }

Fields§

§type_: u8§length: u8§next: *mut dvb_desc§frequency: u32§orbit: u16§_bitfield_1: __BindgenBitfieldUnit<[u8; 1], u8>§__bindgen_anon_1: dvb_desc_sat__bindgen_ty_1

Implementations§

Source§

impl dvb_desc_sat

Source

pub fn modulation_type(&self) -> u8

Source

pub fn set_modulation_type(&mut self, val: u8)

Source

pub fn modulation_system(&self) -> u8

Source

pub fn set_modulation_system(&mut self, val: u8)

Source

pub fn roll_off(&self) -> u8

Source

pub fn set_roll_off(&mut self, val: u8)

Source

pub fn polarization(&self) -> u8

Source

pub fn set_polarization(&mut self, val: u8)

Source

pub fn west_east(&self) -> u8

Source

pub fn set_west_east(&mut self, val: u8)

Source

pub fn new_bitfield_1( modulation_type: u8, modulation_system: u8, roll_off: u8, polarization: u8, west_east: u8, ) -> __BindgenBitfieldUnit<[u8; 1], u8>

Trait Implementations§

Source§

impl Clone for dvb_desc_sat

Source§

fn clone(&self) -> dvb_desc_sat

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_desc_sat

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.