pub struct ComponentOptions {
pub paper_component_name: Option<String>,
pub excluded_platforms: Vec<String>,
pub interface_only: bool,
}Expand description
Optional second-argument metadata passed to codegenNativeComponent(name, options).
Fields§
§paper_component_name: Option<String>§excluded_platforms: Vec<String>§interface_only: boolTrait Implementations§
Source§impl Clone for ComponentOptions
impl Clone for ComponentOptions
Source§impl Debug for ComponentOptions
impl Debug for ComponentOptions
Source§impl Default for ComponentOptions
impl Default for ComponentOptions
Source§impl<'de> Deserialize<'de> for ComponentOptions
impl<'de> Deserialize<'de> for ComponentOptions
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
impl Eq for ComponentOptions
Source§impl PartialEq for ComponentOptions
impl PartialEq for ComponentOptions
Source§impl Serialize for ComponentOptions
impl Serialize for ComponentOptions
impl StructuralPartialEq for ComponentOptions
Auto Trait Implementations§
impl Forget for ComponentOptions
impl Freeze for ComponentOptions
impl Move for ComponentOptions
impl RefUnwindSafe for ComponentOptions
impl Send for ComponentOptionswhere
RawVecInner: Send,
impl Sync for ComponentOptionswhere
RawVecInner: Sync,
impl Unpin for ComponentOptions
impl UnsafeUnpin for ComponentOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ComponentOptionswhere
RawVecInner: UnwindSafe,
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