pub struct ClrAttribute {
pub attribute_type: ClrTypeReference,
pub constructor_args: Vec<ClrConstantValue>,
pub named_args: Vec<(String, ClrConstantValue)>,
}Expand description
CLR 属性
Fields§
§attribute_type: ClrTypeReference属性类型
constructor_args: Vec<ClrConstantValue>构造函数参数
named_args: Vec<(String, ClrConstantValue)>命名参数
Trait Implementations§
Source§impl Clone for ClrAttribute
impl Clone for ClrAttribute
Source§fn clone(&self) -> ClrAttribute
fn clone(&self) -> ClrAttribute
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 ClrAttribute
impl RefUnwindSafe for ClrAttribute
impl Send for ClrAttribute
impl Sync for ClrAttribute
impl Unpin for ClrAttribute
impl UnwindSafe for ClrAttribute
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