pub struct FormatInputPathObject { /* private fields */ }Implementations§
Source§impl FormatInputPathObject
impl FormatInputPathObject
pub fn new_with_values( base: Option<JsString>, dir: Option<JsString>, ext: Option<JsString>, name: Option<JsString>, root: Option<JsString>, ) -> FormatInputPathObject
pub fn new() -> FormatInputPathObject
pub fn base(&self) -> Option<JsString>
pub fn set_base(&mut self, value: Option<JsString>)
pub fn dir(&self) -> Option<JsString>
pub fn set_dir(&mut self, value: Option<JsString>)
pub fn ext(&self) -> Option<JsString>
pub fn set_ext(&mut self, value: Option<JsString>)
pub fn name(&self) -> Option<JsString>
pub fn set_name(&mut self, value: Option<JsString>)
pub fn root(&self) -> Option<JsString>
pub fn set_root(&mut self, value: Option<JsString>)
Trait Implementations§
Source§impl Clone for FormatInputPathObject
impl Clone for FormatInputPathObject
Source§fn clone(&self) -> FormatInputPathObject
fn clone(&self) -> FormatInputPathObject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FormatInputPathObject
impl Debug for FormatInputPathObject
Source§impl Default for FormatInputPathObject
impl Default for FormatInputPathObject
Source§fn default() -> FormatInputPathObject
fn default() -> FormatInputPathObject
Returns the “default value” for a type. Read more
impl Eq for FormatInputPathObject
Source§impl From<FormatInputPathObject> for JsValue
impl From<FormatInputPathObject> for JsValue
Source§fn from(value: FormatInputPathObject) -> Self
fn from(value: FormatInputPathObject) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for FormatInputPathObject
impl FromWasmAbi for FormatInputPathObject
Source§impl IntoWasmAbi for FormatInputPathObject
impl IntoWasmAbi for FormatInputPathObject
Source§impl LongRefFromWasmAbi for FormatInputPathObject
impl LongRefFromWasmAbi for FormatInputPathObject
Source§type Abi = WasmPtr<WasmRefCell<FormatInputPathObject>>
type Abi = WasmPtr<WasmRefCell<FormatInputPathObject>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRef<FormatInputPathObject>
type Anchor = RcRef<FormatInputPathObject>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn long_ref_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiSource§impl PartialEq for FormatInputPathObject
impl PartialEq for FormatInputPathObject
Source§fn eq(&self, other: &FormatInputPathObject) -> bool
fn eq(&self, other: &FormatInputPathObject) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefFromWasmAbi for FormatInputPathObject
impl RefFromWasmAbi for FormatInputPathObject
Source§type Abi = WasmPtr<WasmRefCell<FormatInputPathObject>>
type Abi = WasmPtr<WasmRefCell<FormatInputPathObject>>
The Wasm ABI type references to
Self are recovered from.Source§type Anchor = RcRef<FormatInputPathObject>
type Anchor = RcRef<FormatInputPathObject>
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 FormatInputPathObject
impl RefMutFromWasmAbi for FormatInputPathObject
Source§type Abi = WasmPtr<WasmRefCell<FormatInputPathObject>>
type Abi = WasmPtr<WasmRefCell<FormatInputPathObject>>
Same as
RefFromWasmAbi::AbiSource§type Anchor = RcRefMut<FormatInputPathObject>
type Anchor = RcRefMut<FormatInputPathObject>
Same as
RefFromWasmAbi::AnchorSource§unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as
RefFromWasmAbi::ref_from_abiimpl StructuralPartialEq for FormatInputPathObject
impl SupportsConstructor for FormatInputPathObject
impl SupportsInstanceProperty for FormatInputPathObject
impl SupportsStaticProperty for FormatInputPathObject
Source§impl VectorFromWasmAbi for FormatInputPathObject
impl VectorFromWasmAbi for FormatInputPathObject
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[FormatInputPathObject]>
Source§impl VectorIntoWasmAbi for FormatInputPathObject
impl VectorIntoWasmAbi for FormatInputPathObject
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[FormatInputPathObject]>) -> Self::Abi
Source§impl WasmDescribeVector for FormatInputPathObject
impl WasmDescribeVector for FormatInputPathObject
Auto Trait Implementations§
impl Freeze for FormatInputPathObject
impl RefUnwindSafe for FormatInputPathObject
impl Send for FormatInputPathObject
impl Sync for FormatInputPathObject
impl Unpin for FormatInputPathObject
impl UnsafeUnpin for FormatInputPathObject
impl UnwindSafe for FormatInputPathObject
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.