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 copy of the value. Read more
1.0.0 · 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
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 PartialEq for FormatInputPathObject
impl PartialEq for FormatInputPathObject
Source§impl RefFromWasmAbi for FormatInputPathObject
impl RefFromWasmAbi for FormatInputPathObject
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 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 VectorIntoJsValue for FormatInputPathObject
impl VectorIntoJsValue for FormatInputPathObject
fn vector_into_jsvalue(vector: Box<[FormatInputPathObject]>) -> JsValue
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
impl Eq for FormatInputPathObject
impl StructuralPartialEq for FormatInputPathObject
impl SupportsConstructor for FormatInputPathObject
impl SupportsInstanceProperty for FormatInputPathObject
impl SupportsStaticProperty 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 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::Abi
Source§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
.