pub struct ModalComponent {
pub common: ComponentCommon,
pub trigger: ComponentId,
pub content: ComponentId,
}Expand description
模态框组件
Fields§
§common: ComponentCommon§trigger: ComponentId触发器组件 ID
content: ComponentId内容组件 ID
Trait Implementations§
Source§impl Clone for ModalComponent
impl Clone for ModalComponent
Source§fn clone(&self) -> ModalComponent
fn clone(&self) -> ModalComponent
Returns a duplicate 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 ModalComponent
impl Debug for ModalComponent
Source§impl<'de> Deserialize<'de> for ModalComponent
impl<'de> Deserialize<'de> for ModalComponent
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 PartialEq for ModalComponent
impl PartialEq for ModalComponent
Source§impl Serialize for ModalComponent
impl Serialize for ModalComponent
impl StructuralPartialEq for ModalComponent
Auto Trait Implementations§
impl Freeze for ModalComponent
impl RefUnwindSafe for ModalComponent
impl Send for ModalComponent
impl Sync for ModalComponent
impl Unpin for ModalComponent
impl UnsafeUnpin for ModalComponent
impl UnwindSafe for ModalComponent
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