_frame_data

Struct _frame_data 

Source
#[repr(C)]
pub struct _frame_data {
Show 14 fields pub num: guint32, pub pkt_len: guint32, pub cap_len: guint32, pub cum_bytes: guint32, pub file_off: gint64, pub pfd: *mut GSList, pub color_filter: *const _color_filter, pub subnum: guint16, pub _bitfield_align_1: [u8; 0], pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2]>, pub abs_ts: nstime_t, pub shift_offset: nstime_t, pub frame_ref_num: guint32, pub prev_dis_num: guint32,
}

Fields§

§num: guint32§pkt_len: guint32§cap_len: guint32§cum_bytes: guint32§file_off: gint64§pfd: *mut GSList§color_filter: *const _color_filter§subnum: guint16§_bitfield_align_1: [u8; 0]§_bitfield_1: __BindgenBitfieldUnit<[u8; 2]>§abs_ts: nstime_t§shift_offset: nstime_t§frame_ref_num: guint32§prev_dis_num: guint32

Implementations§

Source§

impl _frame_data

Source

pub fn passed_dfilter(&self) -> c_uint

Source

pub fn set_passed_dfilter(&mut self, val: c_uint)

Source

pub fn dependent_of_displayed(&self) -> c_uint

Source

pub fn set_dependent_of_displayed(&mut self, val: c_uint)

Source

pub fn encoding(&self) -> c_uint

Source

pub fn set_encoding(&mut self, val: c_uint)

Source

pub fn visited(&self) -> c_uint

Source

pub fn set_visited(&mut self, val: c_uint)

Source

pub fn marked(&self) -> c_uint

Source

pub fn set_marked(&mut self, val: c_uint)

Source

pub fn ref_time(&self) -> c_uint

Source

pub fn set_ref_time(&mut self, val: c_uint)

Source

pub fn ignored(&self) -> c_uint

Source

pub fn set_ignored(&mut self, val: c_uint)

Source

pub fn has_ts(&self) -> c_uint

Source

pub fn set_has_ts(&mut self, val: c_uint)

Source

pub fn has_modified_block(&self) -> c_uint

Source

pub fn set_has_modified_block(&mut self, val: c_uint)

Source

pub fn need_colorize(&self) -> c_uint

Source

pub fn set_need_colorize(&mut self, val: c_uint)

Source

pub fn tsprec(&self) -> c_uint

Source

pub fn set_tsprec(&mut self, val: c_uint)

Source

pub fn new_bitfield_1( passed_dfilter: c_uint, dependent_of_displayed: c_uint, encoding: c_uint, visited: c_uint, marked: c_uint, ref_time: c_uint, ignored: c_uint, has_ts: c_uint, has_modified_block: c_uint, need_colorize: c_uint, tsprec: c_uint, ) -> __BindgenBitfieldUnit<[u8; 2]>

Trait Implementations§

Source§

impl Clone for _frame_data

Source§

fn clone(&self) -> _frame_data

Returns a duplicate of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for _frame_data

Source§

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

Formats the value using the given formatter. Read more
Source§

impl Copy for _frame_data

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.