pub struct Wrapper<G, F, CR> {
pub g: G,
pub f: F,
/* private fields */
}
Fields§
§g: G
§f: F
Implementations§
Trait Implementations§
Source§impl<'a, G, R, F, CR> Getter<'a, R> for Wrapper<G, F, CR>
impl<'a, G, R, F, CR> Getter<'a, R> for Wrapper<G, F, CR>
type Iter = ConvIter<<G as Getter<'a, CR>>::Iter, F>
fn bool_flag<S>(&self, s: S, f: Filter) -> bool
fn value<S>(&self, s: S, f: Filter) -> Option<R>
fn values<S>( &self, s: S, f: Filter, ) -> Option<<Wrapper<G, F, CR> as Getter<'a, R>>::Iter>
fn local_value<S>(&self, s: S, f: Filter) -> Option<PathBuf>
fn sub<S>(&self, s: S, f: Filter) -> bool
fn wrap<R2, F>(self, f: F) -> Wrapper<Self, F, R>where
F: Fn(R) -> R2,
fn hold<B, RB>(self, b: B) -> Holder<'a, Self, B, R, RB>
fn grab(&'a self) -> Grabber<'a, Self, R, Self::Iter>
fn grab_local(&'a self) -> LocalGrabber<'a, Self, R, Self::Iter>
fn grab_multi(&'a self) -> MultiGrabber<'a, Self, R>
Auto Trait Implementations§
impl<G, F, CR> Freeze for Wrapper<G, F, CR>
impl<G, F, CR> RefUnwindSafe for Wrapper<G, F, CR>
impl<G, F, CR> Send for Wrapper<G, F, CR>
impl<G, F, CR> Sync for Wrapper<G, F, CR>
impl<G, F, CR> Unpin for Wrapper<G, F, CR>
impl<G, F, CR> UnwindSafe for Wrapper<G, F, CR>
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