Struct below_model::VecFieldId
source · [−]Expand description
Type that makes Vec Queriable if Vec’s inner type is Queriable. Uses idx
to query into a Vec. Uses subquery_id
to query into the selected item.
Fields
idx: Option<usize>
None is only for listing variants and otherwise invalid.
subquery_id: F
Trait Implementations
sourceimpl<F: Clone + FieldId> Clone for VecFieldId<F>
impl<F: Clone + FieldId> Clone for VecFieldId<F>
sourcefn clone(&self) -> VecFieldId<F>
fn clone(&self) -> VecFieldId<F>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<F: Debug + FieldId> Debug for VecFieldId<F>
impl<F: Debug + FieldId> Debug for VecFieldId<F>
sourceimpl<F: FieldId + EnumIter> EnumIter for VecFieldId<F>
impl<F: FieldId + EnumIter> EnumIter for VecFieldId<F>
sourcefn all_variant_iter() -> Box<dyn Iterator<Item = Self>>
fn all_variant_iter() -> Box<dyn Iterator<Item = Self>>
Return iterator for unit variants as well as nested variants.
sourcefn unit_variant_iter() -> Box<dyn Iterator<Item = Self>>
fn unit_variant_iter() -> Box<dyn Iterator<Item = Self>>
Return iterator for unit variants only.
sourceimpl<F: PartialEq + FieldId> PartialEq<VecFieldId<F>> for VecFieldId<F>
impl<F: PartialEq + FieldId> PartialEq<VecFieldId<F>> for VecFieldId<F>
sourcefn eq(&self, other: &VecFieldId<F>) -> bool
fn eq(&self, other: &VecFieldId<F>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourceimpl<F: FieldId + ToString> ToString for VecFieldId<F>
impl<F: FieldId + ToString> ToString for VecFieldId<F>
impl<F: FieldId> StructuralPartialEq for VecFieldId<F>
Auto Trait Implementations
impl<F> RefUnwindSafe for VecFieldId<F>where
F: RefUnwindSafe,
impl<F> Send for VecFieldId<F>where
F: Send,
impl<F> Sync for VecFieldId<F>where
F: Sync,
impl<F> Unpin for VecFieldId<F>where
F: Unpin,
impl<F> UnwindSafe for VecFieldId<F>where
F: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more