Function cvar::console::find [] [src]

pub fn find<'a, F, R>(root: &IVisit, id: &'a str, f: F) -> Result<R, Error<'a>> where
    F: FnMut(Node) -> Result<R, InnerError>, 

Finds a cvar by its node identifier and invokes the callback with it.

Should not return Err(InnerError::NameError) from the callback.