pub struct ClrEvent {
pub name: String,
pub event_type: ClrTypeReference,
pub add_method: Option<String>,
pub remove_method: Option<String>,
pub raise_method: Option<String>,
pub attributes: Vec<ClrAttribute>,
}Expand description
CLR 事件定义
Fields§
§name: String事件名称
event_type: ClrTypeReference事件类型
add_method: Option<String>添加方法
remove_method: Option<String>移除方法
raise_method: Option<String>触发方法
attributes: Vec<ClrAttribute>属性
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClrEvent
impl RefUnwindSafe for ClrEvent
impl Send for ClrEvent
impl Sync for ClrEvent
impl Unpin for ClrEvent
impl UnwindSafe for ClrEvent
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