pub struct QueryItem<'a, Value, Architecture> {
pub value: Value,
pub section: Section<'a>,
pub architecture: Architecture,
}Fields§
§value: ValueValue of the item.
section: Section<'a>Location of the item.
architecture: ArchitectureArchitecture suffix of the corresponding field.
Implementations§
Source§impl<'a, Value, Architecture> QueryItem<'a, Value, Architecture>
impl<'a, Value, Architecture> QueryItem<'a, Value, Architecture>
Sourcepub fn from_tuple3(
(value, section, architecture): (Value, Section<'a>, Architecture),
) -> Self
pub fn from_tuple3( (value, section, architecture): (Value, Section<'a>, Architecture), ) -> Self
Construct an item from a tuple of value, section, and architecture.
Sourcepub fn into_tuple3(self) -> (Value, Section<'a>, Architecture)
pub fn into_tuple3(self) -> (Value, Section<'a>, Architecture)
Dissolve the item into a tuple of value, section, and architecture.
Source§impl<'a, Value> QueryItem<'a, Value, ()>
impl<'a, Value> QueryItem<'a, Value, ()>
Sourcepub fn from_tuple2((value, section): (Value, Section<'a>)) -> Self
pub fn from_tuple2((value, section): (Value, Section<'a>)) -> Self
Construct an item from a tuple of value and section.
Sourcepub fn into_tuple2(self) -> (Value, Section<'a>)
pub fn into_tuple2(self) -> (Value, Section<'a>)
Dissolve the item into a tuple of value and section.
Trait Implementations§
Source§impl<'a, Value: PartialEq, Architecture: PartialEq> PartialEq for QueryItem<'a, Value, Architecture>
impl<'a, Value: PartialEq, Architecture: PartialEq> PartialEq for QueryItem<'a, Value, Architecture>
impl<'a, Value: Copy, Architecture: Copy> Copy for QueryItem<'a, Value, Architecture>
impl<'a, Value: Eq, Architecture: Eq> Eq for QueryItem<'a, Value, Architecture>
impl<'a, Value, Architecture> StructuralPartialEq for QueryItem<'a, Value, Architecture>
Auto Trait Implementations§
impl<'a, Value, Architecture> Freeze for QueryItem<'a, Value, Architecture>
impl<'a, Value, Architecture> RefUnwindSafe for QueryItem<'a, Value, Architecture>where
Value: RefUnwindSafe,
Architecture: RefUnwindSafe,
impl<'a, Value, Architecture> Send for QueryItem<'a, Value, Architecture>
impl<'a, Value, Architecture> Sync for QueryItem<'a, Value, Architecture>
impl<'a, Value, Architecture> Unpin for QueryItem<'a, Value, Architecture>
impl<'a, Value, Architecture> UnwindSafe for QueryItem<'a, Value, Architecture>where
Value: UnwindSafe,
Architecture: 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<X> Pipe for X
impl<X> Pipe for X
Source§fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Returnwhere
Function: FnOnce(&'a Self) -> Return,
fn pipe_ref<'a, Return, Function>(&'a self, f: Function) -> Returnwhere
Function: FnOnce(&'a Self) -> Return,
Source§fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Function: FnOnce(&'a mut Self) -> Return,
fn pipe_mut<'a, Return, Function>(&'a mut self, f: Function) -> Returnwhere
Function: FnOnce(&'a mut Self) -> Return,
Source§fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
fn pipe_as_ref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
Apply
f to &self where f takes a single parameter of type Param
and Self implements trait AsRef<Param>. Read moreSource§fn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Return
fn pipe_as_mut<'a, Param, Return, Function>(&'a mut self, f: Function) -> Return
Apply
f to &mut self where f takes a single parameter of type Param
and Self implements trait AsMut<Param>. Read moreSource§fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
fn pipe_deref<'a, Param, Return, Function>(&'a self, f: Function) -> Return
Apply
f to &self where f takes a single parameter of type Param
and Self implements trait Deref<Target = Param>. Read moreSource§fn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function,
) -> Returnwhere
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
fn pipe_deref_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function,
) -> Returnwhere
Self: DerefMut<Target = Param>,
Param: 'a + ?Sized,
Function: FnOnce(&'a mut Param) -> Return,
Apply
f to &mut self where f takes a single parameter of type Param
and Self implements trait DerefMut<Target = Param>. Read moreSource§fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return
fn pipe_borrow<'a, Param, Return, Function>(&'a self, f: Function) -> Return
Apply
f to &self where f takes a single parameter of type Param
and Self implements trait Borrow<Param>. Read moreSource§fn pipe_borrow_mut<'a, Param, Return, Function>(
&'a mut self,
f: Function,
) -> Return
fn pipe_borrow_mut<'a, Param, Return, Function>( &'a mut self, f: Function, ) -> Return
Apply
f to &mut self where f takes a single parameter of type Param
and Self implements trait BorrowMut<Param>. Read more