pub struct JsRRTConnect { /* private fields */ }Implementations§
Source§impl JsRRTConnect
impl JsRRTConnect
pub fn new( max_distance: f64, goal_bias: f64, problem_def: &JsProblemDefinition, config: &JsPlannerConfig, ) -> Self
pub fn setup(&mut self, validity_checker: &JsStateValidityChecker)
pub fn solve(&mut self, timeout_secs: f32) -> Result<JsPath, String>
Trait Implementations§
Source§impl From<JsRRTConnect> for JsValue
impl From<JsRRTConnect> for JsValue
Source§fn from(value: JsRRTConnect) -> Self
fn from(value: JsRRTConnect) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for JsRRTConnect
impl FromWasmAbi for JsRRTConnect
Source§impl IntoWasmAbi for JsRRTConnect
impl IntoWasmAbi for JsRRTConnect
Source§impl LongRefFromWasmAbi for JsRRTConnect
impl LongRefFromWasmAbi for JsRRTConnect
Source§impl OptionFromWasmAbi for JsRRTConnect
impl OptionFromWasmAbi for JsRRTConnect
Source§impl OptionIntoWasmAbi for JsRRTConnect
impl OptionIntoWasmAbi for JsRRTConnect
Source§impl RefFromWasmAbi for JsRRTConnect
impl RefFromWasmAbi for JsRRTConnect
Source§type Anchor = RcRef<JsRRTConnect>
type Anchor = RcRef<JsRRTConnect>
The type that holds the reference to
Self for the duration of the
invocation of the function that has an &Self parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.Source§impl RefMutFromWasmAbi for JsRRTConnect
impl RefMutFromWasmAbi for JsRRTConnect
impl SupportsConstructor for JsRRTConnect
impl SupportsInstanceProperty for JsRRTConnect
impl SupportsStaticProperty for JsRRTConnect
Source§impl TryFromJsValue for JsRRTConnect
impl TryFromJsValue for JsRRTConnect
Source§impl VectorFromWasmAbi for JsRRTConnect
impl VectorFromWasmAbi for JsRRTConnect
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[JsRRTConnect]>
Source§impl VectorIntoWasmAbi for JsRRTConnect
impl VectorIntoWasmAbi for JsRRTConnect
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[JsRRTConnect]>) -> Self::Abi
Source§impl WasmDescribeVector for JsRRTConnect
impl WasmDescribeVector for JsRRTConnect
Auto Trait Implementations§
impl !RefUnwindSafe for JsRRTConnect
impl !Send for JsRRTConnect
impl !Sync for JsRRTConnect
impl !UnwindSafe for JsRRTConnect
impl Freeze for JsRRTConnect
impl Unpin for JsRRTConnect
impl UnsafeUnpin for JsRRTConnect
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.