Scopes

Struct Scopes 

Source
#[repr(C, packed(4))]
pub struct Scopes {
Show 18 fields pub ok: i32, pub sample_full: i32, pub sample_lines: i32, pub accuracy: f32, pub wavefrm_mode: i32, pub wavefrm_alpha: f32, pub wavefrm_yfac: f32, pub wavefrm_height: i32, pub vecscope_alpha: f32, pub vecscope_height: i32, pub minmax: [[f32; 2]; 3], pub hist: Histogram, pub waveform_1: Pointer<f32>, pub waveform_2: Pointer<f32>, pub waveform_3: Pointer<f32>, pub vecscope: Pointer<f32>, pub waveform_tot: i32, pub _pad: [i8; 4],
}

Fields§

§ok: i32§sample_full: i32§sample_lines: i32§accuracy: f32§wavefrm_mode: i32§wavefrm_alpha: f32§wavefrm_yfac: f32§wavefrm_height: i32§vecscope_alpha: f32§vecscope_height: i32§minmax: [[f32; 2]; 3]§hist: Histogram§waveform_1: Pointer<f32>§waveform_2: Pointer<f32>§waveform_3: Pointer<f32>§vecscope: Pointer<f32>§waveform_tot: i32§_pad: [i8; 4]

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for Scopes

§

impl RefUnwindSafe for Scopes

§

impl Send for Scopes

§

impl Sync for Scopes

§

impl Unpin for Scopes

§

impl UnwindSafe for Scopes

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> 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, 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.