pub struct CSharpField {
pub name: String,
pub ty: CSharpType,
pub visibility: CSharpVisibility,
pub is_static: bool,
pub is_readonly: bool,
pub is_const: bool,
pub default_value: Option<CSharpExpr>,
}Expand description
A C# field declaration.
Fields§
§name: String§ty: CSharpType§visibility: CSharpVisibility§is_static: bool§is_readonly: bool§is_const: bool§default_value: Option<CSharpExpr>Implementations§
Trait Implementations§
Source§impl Clone for CSharpField
impl Clone for CSharpField
Source§fn clone(&self) -> CSharpField
fn clone(&self) -> CSharpField
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 CSharpField
impl Debug for CSharpField
Source§impl PartialEq for CSharpField
impl PartialEq for CSharpField
impl StructuralPartialEq for CSharpField
Auto Trait Implementations§
impl Freeze for CSharpField
impl RefUnwindSafe for CSharpField
impl Send for CSharpField
impl Sync for CSharpField
impl Unpin for CSharpField
impl UnsafeUnpin for CSharpField
impl UnwindSafe for CSharpField
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