pub struct FSharpAttribute {
pub name: String,
pub args: Vec<String>,
pub named_args: Vec<(String, String)>,
}Expand description
A .NET attribute applied to a type, function, or property.
Fields§
§name: StringAttribute name (e.g. Serializable, DllImport).
args: Vec<String>Positional arguments as raw strings.
named_args: Vec<(String, String)>Named arguments as (key, value) pairs.
Implementations§
Trait Implementations§
Source§impl Clone for FSharpAttribute
impl Clone for FSharpAttribute
Source§fn clone(&self) -> FSharpAttribute
fn clone(&self) -> FSharpAttribute
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 FSharpAttribute
impl RefUnwindSafe for FSharpAttribute
impl Send for FSharpAttribute
impl Sync for FSharpAttribute
impl Unpin for FSharpAttribute
impl UnsafeUnpin for FSharpAttribute
impl UnwindSafe for FSharpAttribute
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