var searchIndex = {}; searchIndex["boolinator"] = {"doc":"Provides the [`Boolinator`](trait.Boolinator.html) trait, which lets you use `Option` and `Result`-style combinators with `bool`s.","items":[[8,"Boolinator","boolinator","This trait defines a number of combinator-style methods for use with `bool` values.",null,null],[10,"as_option","","Converts this value into a logically equivalent `Some(())` or `None`.",0,null],[10,"as_some","","If this value is `true`, returns `Some(some)`; `None` otherwise.",0,null],[10,"as_some_from","","If this value is `true`, returns `Some(some())`; `None` otherwise.",0,null],[10,"and_option","","If this value is `true`, returns `opt`; `None` otherwise.",0,null],[10,"and_option_from","","If this value is `true`, returns `opt()`; `None` otherwise.",0,null],[10,"as_result","","If this value is `true`, returns `Ok(ok)`; `Err(err)` otherwise.",0,null],[10,"as_result_from","","If this value is `true`, returns `Ok(ok())`; `Err(err())` otherwise.",0,null],[10,"expect","","Panics with `msg` if this value is `false`, otherwise it does nothing.",0,null]],"paths":[[8,"Boolinator"]]}; initSearch(searchIndex);