pub struct LookupSelectors<T> {
pub xor: Option<T>,
pub lookup: Option<T>,
pub range_check: Option<T>,
pub ffmul: Option<T>,
}
Expand description
Lookup selectors
Fields§
§xor: Option<T>
XOR pattern lookup selector
lookup: Option<T>
Lookup pattern lookup selector
range_check: Option<T>
Range check pattern lookup selector
ffmul: Option<T>
Foreign field multiplication pattern lookup selector
Implementations§
source§impl<T> LookupSelectors<T>
impl<T> LookupSelectors<T>
pub fn map<U, F: Fn(T) -> U>(self, f: F) -> LookupSelectors<U>
pub fn as_ref(&self) -> LookupSelectors<&T>
Trait Implementations§
source§impl<T: Clone> Clone for LookupSelectors<T>
impl<T: Clone> Clone for LookupSelectors<T>
source§fn clone(&self) -> LookupSelectors<T>
fn clone(&self) -> LookupSelectors<T>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<T: Debug> Debug for LookupSelectors<T>
impl<T: Debug> Debug for LookupSelectors<T>
source§impl<T: Default> Default for LookupSelectors<T>
impl<T: Default> Default for LookupSelectors<T>
source§fn default() -> LookupSelectors<T>
fn default() -> LookupSelectors<T>
Returns the “default value” for a type. Read more
source§impl<'de, T> Deserialize<'de> for LookupSelectors<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for LookupSelectors<T>where T: Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<T> Index<LookupPattern> for LookupSelectors<T>
impl<T> Index<LookupPattern> for LookupSelectors<T>
source§impl<T> IndexMut<LookupPattern> for LookupSelectors<T>
impl<T> IndexMut<LookupPattern> for LookupSelectors<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for LookupSelectors<T>where T: RefUnwindSafe,
impl<T> Send for LookupSelectors<T>where T: Send,
impl<T> Sync for LookupSelectors<T>where T: Sync,
impl<T> Unpin for LookupSelectors<T>where T: Unpin,
impl<T> UnwindSafe for LookupSelectors<T>where T: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more