Struct FTR

Source
pub struct FTR {
Show 28 fields pub test_num: U4, pub head_num: U1, pub site_num: U1, pub test_flg: B1, pub opt_flag: B1, pub cycl_cnt: U4, pub rel_vadr: U4, pub rept_cnt: U4, pub num_fail: U4, pub xfail_ad: I4, pub yfail_ad: I4, pub vect_off: I2, pub rtn_icnt: U2, pub pgm_icnt: U2, pub rtn_indx: KxU2, pub rtn_stat: KxN1, pub pgm_indx: KxU2, pub pgm_stat: KxN1, pub fail_pin: Dn, pub vect_nam: Cn, pub time_set: Cn, pub op_code: Cn, pub test_txt: Cn, pub alarm_id: Cn, pub prog_txt: Cn, pub rslt_txt: Cn, pub patg_num: U1, pub spin_map: Dn,
}

Fields§

§test_num: U4§head_num: U1§site_num: U1§test_flg: B1§opt_flag: B1§cycl_cnt: U4§rel_vadr: U4§rept_cnt: U4§num_fail: U4§xfail_ad: I4§yfail_ad: I4§vect_off: I2§rtn_icnt: U2§pgm_icnt: U2§rtn_indx: KxU2§rtn_stat: KxN1§pgm_indx: KxU2§pgm_stat: KxN1§fail_pin: Dn§vect_nam: Cn§time_set: Cn§op_code: Cn§test_txt: Cn§alarm_id: Cn§prog_txt: Cn§rslt_txt: Cn§patg_num: U1§spin_map: Dn

Implementations§

Source§

impl FTR

Source

pub fn new() -> Self

Source

pub fn read_from_bytes(&mut self, raw_data: &[u8], order: &ByteOrder)

Trait Implementations§

Source§

impl Clone for FTR

Source§

fn clone(&self) -> FTR

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 FTR

Source§

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

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

impl Default for FTR

Source§

fn default() -> Self

Return FTR { test_num: Default::default(), head_num: Default::default(), site_num: Default::default(), test_flg: Default::default(), opt_flag: Default::default(), cycl_cnt: Default::default(), rel_vadr: Default::default(), rept_cnt: Default::default(), num_fail: Default::default(), xfail_ad: Default::default(), yfail_ad: Default::default(), vect_off: Default::default(), rtn_icnt: Default::default(), pgm_icnt: Default::default(), rtn_indx: Default::default(), rtn_stat: Default::default(), pgm_indx: Default::default(), pgm_stat: Default::default(), fail_pin: Default::default(), vect_nam: Default::default(), time_set: Default::default(), op_code: Default::default(), test_txt: Default::default(), alarm_id: Default::default(), prog_txt: Default::default(), rslt_txt: Default::default(), patg_num: 255, spin_map: Default::default() }

Source§

impl PartialEq for FTR

Source§

fn eq(&self, other: &FTR) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for FTR

Source§

impl StructuralPartialEq for FTR

Auto Trait Implementations§

§

impl Freeze for FTR

§

impl RefUnwindSafe for FTR

§

impl Send for FTR

§

impl Sync for FTR

§

impl Unpin for FTR

§

impl UnwindSafe for FTR

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.