pub struct SelectableMapProvider<P, S>{
pub base_provider: P,
pub selector: S,
/* private fields */
}Fields§
§base_provider: P§selector: SImplementations§
Source§impl<P, S> SelectableMapProvider<P, S>
impl<P, S> SelectableMapProvider<P, S>
pub fn new(base_provider: P, selector: S) -> Self
pub fn refresh(&mut self)
pub const fn selected_provider(&self) -> &InMemoryMapProvider
Trait Implementations§
Source§impl<P, S> Clone for SelectableMapProvider<P, S>
impl<P, S> Clone for SelectableMapProvider<P, S>
Source§impl<P, S> Debug for SelectableMapProvider<P, S>
impl<P, S> Debug for SelectableMapProvider<P, S>
Source§impl<P, S> DescriptorProvider for SelectableMapProvider<P, S>
impl<P, S> DescriptorProvider for SelectableMapProvider<P, S>
fn landmark_descriptor_store(&self) -> Option<&LandmarkDescriptorStore>
Source§impl<P, S> MapProvider for SelectableMapProvider<P, S>
impl<P, S> MapProvider for SelectableMapProvider<P, S>
fn visual_map(&self) -> &VisualMap
Source§impl<P, S> PartialEq for SelectableMapProvider<P, S>
impl<P, S> PartialEq for SelectableMapProvider<P, S>
impl<P, S> StructuralPartialEq for SelectableMapProvider<P, S>
Auto Trait Implementations§
impl<P, S> Forget for SelectableMapProvider<P, S>
impl<P, S> Freeze for SelectableMapProvider<P, S>
impl<P, S> Move for SelectableMapProvider<P, S>
impl<P, S> RefUnwindSafe for SelectableMapProvider<P, S>where
P: RefUnwindSafe,
S: RefUnwindSafe,
impl<P, S> Send for SelectableMapProvider<P, S>
impl<P, S> Sync for SelectableMapProvider<P, S>
impl<P, S> Unpin for SelectableMapProvider<P, S>
impl<P, S> UnsafeUnpin for SelectableMapProvider<P, S>where
P: UnsafeUnpin,
S: UnsafeUnpin,
impl<P, S> UnwindSafe for SelectableMapProvider<P, S>where
P: UnwindSafe,
S: 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,
impl<T> Scalar for T
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.