pub struct ElementQuery { /* private fields */ }Expand description
Select actual scientific layer declarations in a panel.
Implementations§
Source§impl ElementQuery
impl ElementQuery
Sourcepub fn root() -> ElementQuery
pub fn root() -> ElementQuery
Query the actual scientific roots.
Sourcepub fn panel(self, panel: PanelPath) -> ElementQuery
pub fn panel(self, panel: PanelPath) -> ElementQuery
Limit the query to one actual panel.
Sourcepub fn slot(self, slot: LayerSlot) -> ElementQuery
pub fn slot(self, slot: LayerSlot) -> ElementQuery
Select one actual owning layer slot.
Trait Implementations§
Source§impl Clone for ElementQuery
impl Clone for ElementQuery
Source§fn clone(&self) -> ElementQuery
fn clone(&self) -> ElementQuery
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ElementQuery
impl Debug for ElementQuery
Source§impl Default for ElementQuery
impl Default for ElementQuery
Source§fn default() -> ElementQuery
fn default() -> ElementQuery
Returns the “default value” for a type. Read more
Source§impl From<LayerSlot> for ElementQuery
impl From<LayerSlot> for ElementQuery
Source§fn from(slot: LayerSlot) -> ElementQuery
fn from(slot: LayerSlot) -> ElementQuery
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for ElementQuery
impl Freeze for ElementQuery
impl Move for ElementQuery
impl RefUnwindSafe for ElementQuery
impl Send for ElementQuery
impl Sync for ElementQuery
impl Unpin for ElementQuery
impl UnsafeUnpin for ElementQuery
impl UnwindSafe for ElementQuerywhere
RawVecInner: UnwindSafe,
Arc<[u8]>: UnwindSafe,
BoxRaw<RawKey>: UnwindSafe,
Arc<str>: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.