pub struct Indentation {
pub left: i32,
pub right: i32,
pub first_line: i32,
}
Fields§
§left: i32
§right: i32
§first_line: i32
Trait Implementations§
Source§impl Clone for Indentation
impl Clone for Indentation
Source§fn clone(&self) -> Indentation
fn clone(&self) -> Indentation
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 Indentation
impl Debug for Indentation
Source§impl Default for Indentation
impl Default for Indentation
Source§fn default() -> Indentation
fn default() -> Indentation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for Indentation
impl<'de> Deserialize<'de> for Indentation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<Indentation> for JsValue
impl From<Indentation> for JsValue
Source§fn from(value: Indentation) -> Self
fn from(value: Indentation) -> Self
Converts to this type from the input type.
Source§impl FromWasmAbi for Indentation
impl FromWasmAbi for Indentation
Source§impl Hash for Indentation
impl Hash for Indentation
Source§impl IntoWasmAbi for Indentation
impl IntoWasmAbi for Indentation
Source§impl LongRefFromWasmAbi for Indentation
impl LongRefFromWasmAbi for Indentation
Source§impl OptionFromWasmAbi for Indentation
impl OptionFromWasmAbi for Indentation
Source§impl OptionIntoWasmAbi for Indentation
impl OptionIntoWasmAbi for Indentation
Source§impl PartialEq for Indentation
impl PartialEq for Indentation
Source§impl RefFromWasmAbi for Indentation
impl RefFromWasmAbi for Indentation
Source§type Anchor = RcRef<Indentation>
type Anchor = RcRef<Indentation>
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 Indentation
impl RefMutFromWasmAbi for Indentation
Source§impl Serialize for Indentation
impl Serialize for Indentation
Source§impl TryFromJsValue for Indentation
impl TryFromJsValue for Indentation
Source§impl VectorFromWasmAbi for Indentation
impl VectorFromWasmAbi for Indentation
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[Indentation]>
Source§impl VectorIntoJsValue for Indentation
impl VectorIntoJsValue for Indentation
fn vector_into_jsvalue(vector: Box<[Indentation]>) -> JsValue
Source§impl VectorIntoWasmAbi for Indentation
impl VectorIntoWasmAbi for Indentation
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Indentation]>) -> Self::Abi
Source§impl WasmDescribeVector for Indentation
impl WasmDescribeVector for Indentation
impl Copy for Indentation
impl StructuralPartialEq for Indentation
impl SupportsConstructor for Indentation
impl SupportsInstanceProperty for Indentation
impl SupportsStaticProperty for Indentation
Auto Trait Implementations§
impl Freeze for Indentation
impl RefUnwindSafe for Indentation
impl Send for Indentation
impl Sync for Indentation
impl Unpin for Indentation
impl UnwindSafe for Indentation
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
.