pub struct JsPRM { /* private fields */ }Implementations§
Source§impl JsPRM
impl JsPRM
pub fn new( timeout_secs: f32, connection_radius: f64, problem_def: &JsProblemDefinition, config: &JsPlannerConfig, ) -> Self
pub fn setup(&mut self, validity_checker: &JsStateValidityChecker)
pub fn construct_roadmap(&mut self) -> Result<(), String>
pub fn solve(&mut self, timeout_secs: f32) -> Result<JsPath, String>
Trait Implementations§
Source§impl FromWasmAbi for JsPRM
impl FromWasmAbi for JsPRM
Source§impl IntoWasmAbi for JsPRM
impl IntoWasmAbi for JsPRM
Source§impl LongRefFromWasmAbi for JsPRM
impl LongRefFromWasmAbi for JsPRM
Source§impl OptionFromWasmAbi for JsPRM
impl OptionFromWasmAbi for JsPRM
Source§impl OptionIntoWasmAbi for JsPRM
impl OptionIntoWasmAbi for JsPRM
Source§impl RefFromWasmAbi for JsPRM
impl RefFromWasmAbi for JsPRM
Source§impl RefMutFromWasmAbi for JsPRM
impl RefMutFromWasmAbi for JsPRM
impl SupportsConstructor for JsPRM
impl SupportsInstanceProperty for JsPRM
impl SupportsStaticProperty for JsPRM
Source§impl TryFromJsValue for JsPRM
impl TryFromJsValue for JsPRM
Source§impl VectorFromWasmAbi for JsPRM
impl VectorFromWasmAbi for JsPRM
Source§impl VectorIntoWasmAbi for JsPRM
impl VectorIntoWasmAbi for JsPRM
Auto Trait Implementations§
impl !RefUnwindSafe for JsPRM
impl !Send for JsPRM
impl !Sync for JsPRM
impl !UnwindSafe for JsPRM
impl Freeze for JsPRM
impl Unpin for JsPRM
impl UnsafeUnpin for JsPRM
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.