Enum web_sys::CssBoxType 
source · pub enum CssBoxType {
    Margin,
    Border,
    Padding,
    Content,
    // some variants omitted
}Variants§
Implementations§
source§impl CssBoxType
 
impl CssBoxType
pub fn from_js_value(obj: &JsValue) -> Option<CssBoxType>
Trait Implementations§
source§impl Clone for CssBoxType
 
impl Clone for CssBoxType
source§fn clone(&self) -> CssBoxType
 
fn clone(&self) -> CssBoxType
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 CssBoxType
 
impl Debug for CssBoxType
source§impl From<CssBoxType> for JsValue
 
impl From<CssBoxType> for JsValue
source§fn from(obj: CssBoxType) -> JsValue
 
fn from(obj: CssBoxType) -> JsValue
Converts to this type from the input type.
source§impl FromWasmAbi for CssBoxType
 
impl FromWasmAbi for CssBoxType
source§impl IntoWasmAbi for CssBoxType
 
impl IntoWasmAbi for CssBoxType
source§impl PartialEq<CssBoxType> for CssBoxType
 
impl PartialEq<CssBoxType> for CssBoxType
source§fn eq(&self, other: &CssBoxType) -> bool
 
fn eq(&self, other: &CssBoxType) -> bool
impl Copy for CssBoxType
impl StructuralPartialEq for CssBoxType
Auto Trait Implementations§
impl RefUnwindSafe for CssBoxType
impl Send for CssBoxType
impl Sync for CssBoxType
impl Unpin for CssBoxType
impl UnwindSafe for CssBoxType
Blanket Implementations§
source§impl<T> ReturnWasmAbi for Twhere
    T: IntoWasmAbi,
 
impl<T> ReturnWasmAbi for Twhere
    T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
 
type Abi = <T as IntoWasmAbi>::Abi
Same as 
IntoWasmAbi::Abisource§fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
 
fn return_abi(self, extra: &mut dyn Stack) -> <T as ReturnWasmAbi>::Abi
Same as 
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err. Read more