pub struct ClrParameter {
pub name: String,
pub parameter_type: ClrTypeReference,
pub is_in: bool,
pub is_out: bool,
pub is_optional: bool,
pub default_value: Option<ClrConstantValue>,
pub attributes: Vec<ClrAttribute>,
}Expand description
CLR 参数
Fields§
§name: String参数名称
parameter_type: ClrTypeReference参数类型
is_in: bool是否为输入参数
is_out: bool是否为输出参数
is_optional: bool是否为可选参数
default_value: Option<ClrConstantValue>默认值
attributes: Vec<ClrAttribute>属性
Trait Implementations§
Source§impl Clone for ClrParameter
impl Clone for ClrParameter
Source§fn clone(&self) -> ClrParameter
fn clone(&self) -> ClrParameter
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 ClrParameter
impl RefUnwindSafe for ClrParameter
impl Send for ClrParameter
impl Sync for ClrParameter
impl Unpin for ClrParameter
impl UnwindSafe for ClrParameter
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