[−][src]Struct lrl_test_compiler::environment::calibration::BooleanCalibration
Fields
false_lower: u16
false_upper: u16
true_lower: u16
true_upper: u16
Implementations
impl BooleanCalibration
[src]
pub fn read_from_file(file: &mut File) -> CompilerResult<Self>
[src]
pub fn write_to_file(&self, file: &mut File) -> CompilerResult<()>
[src]
Writes the lookup table to a file in a binary encoding.
fn parse_bool_case(
expected_label: &str,
line: String
) -> CompilerResult<(u16, u16)>
[src]
expected_label: &str,
line: String
) -> CompilerResult<(u16, u16)>
pub fn lookup(&self, x_val: u16) -> Option<bool>
[src]
pub fn lower_bound(&self, y_val: bool) -> u16
[src]
pub fn upper_bound(&self, y_val: bool) -> u16
[src]
Trait Implementations
impl Clone for BooleanCalibration
[src]
fn clone(&self) -> BooleanCalibration
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for BooleanCalibration
[src]
impl Eq for BooleanCalibration
[src]
impl Hash for BooleanCalibration
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl PartialEq<BooleanCalibration> for BooleanCalibration
[src]
fn eq(&self, other: &BooleanCalibration) -> bool
[src]
fn ne(&self, other: &BooleanCalibration) -> bool
[src]
impl StructuralEq for BooleanCalibration
[src]
impl StructuralPartialEq for BooleanCalibration
[src]
Auto Trait Implementations
impl RefUnwindSafe for BooleanCalibration
impl Send for BooleanCalibration
impl Sync for BooleanCalibration
impl Unpin for BooleanCalibration
impl UnwindSafe for BooleanCalibration
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
pub fn equivalent(&self, key: &K) -> bool
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>,
[src]
Dst: LosslessTryFrom<Src>,
pub fn lossless_try_into(self) -> Option<Dst>
[src]
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>,
[src]
Dst: LossyFrom<Src>,
pub fn lossy_into(self) -> Dst
[src]
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src]
V: MultiLane<T>,