pub enum SearchAlgorithmType {
AStar,
}
Variants§
AStar
Implementations§
Trait Implementations§
source§impl Display for SearchAlgorithmType
impl Display for SearchAlgorithmType
source§impl FromStr for SearchAlgorithmType
impl FromStr for SearchAlgorithmType
source§impl TryFrom<&Value> for SearchAlgorithmType
impl TryFrom<&Value> for SearchAlgorithmType
source§fn try_from(config: &Value) -> Result<Self, Self::Error>
fn try_from(config: &Value) -> Result<Self, Self::Error>
this method takes the configuration object for the search algorithm and returns the SearchAlgorithmType, expected to be a string at the key “type” on this object.
§type Error = SearchError
type Error = SearchError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for SearchAlgorithmType
impl RefUnwindSafe for SearchAlgorithmType
impl Send for SearchAlgorithmType
impl Sync for SearchAlgorithmType
impl Unpin for SearchAlgorithmType
impl UnwindSafe for SearchAlgorithmType
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