pub struct ClrProperty {
pub name: String,
pub property_type: ClrTypeReference,
pub getter: Option<String>,
pub setter: Option<String>,
pub attributes: Vec<ClrAttribute>,
}Expand description
CLR 属性定义
Fields§
§name: String属性名称
property_type: ClrTypeReference属性类型
getter: Option<String>Getter 方法
setter: Option<String>Setter 方法
attributes: Vec<ClrAttribute>属性
Trait Implementations§
Source§impl Clone for ClrProperty
impl Clone for ClrProperty
Source§fn clone(&self) -> ClrProperty
fn clone(&self) -> ClrProperty
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 moreAuto Trait Implementations§
impl Freeze for ClrProperty
impl RefUnwindSafe for ClrProperty
impl Send for ClrProperty
impl Sync for ClrProperty
impl Unpin for ClrProperty
impl UnwindSafe for ClrProperty
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