pub trait RefValue<T> {
    // Required method
    fn try_ref<'a>(data: &'a T, ctrl: &QueryExtCtrl) -> Option<&'a Self>;
}

Required Methods§

source

fn try_ref<'a>(data: &'a T, ctrl: &QueryExtCtrl) -> Option<&'a Self>

Get reference to value

Implementations on Foreign Types§

source§

impl<const N: usize, const M: usize, const L: usize, const O: usize, T: IsPlainCtrlData> RefValue<ExtControl> for [[[[T; N]; M]; L]; O]

source§

fn try_ref<'a>(data: &'a ExtControl, ctrl: &QueryExtCtrl) -> Option<&'a Self>

source§

impl<const N: usize, const M: usize, T: IsPlainCtrlData> RefValue<ExtControl> for [[T; N]; M]

source§

fn try_ref<'a>(data: &'a ExtControl, ctrl: &QueryExtCtrl) -> Option<&'a Self>

source§

impl<const N: usize, T: IsPlainCtrlData> RefValue<ExtControl> for [T; N]

source§

fn try_ref<'a>(data: &'a ExtControl, ctrl: &QueryExtCtrl) -> Option<&'a Self>

source§

impl<const N: usize, const M: usize, const L: usize, T: IsPlainCtrlData> RefValue<ExtControl> for [[[T; N]; M]; L]

source§

fn try_ref<'a>(data: &'a ExtControl, ctrl: &QueryExtCtrl) -> Option<&'a Self>

source§

impl RefValue<ExtControl> for str

source§

fn try_ref<'a>(data: &'a ExtControl, ctrl: &QueryExtCtrl) -> Option<&'a Self>

Implementors§