pub struct DelegateDeclaration {
pub name: String,
pub attributes: Vec<Attribute>,
pub modifiers: Vec<String>,
pub return_type: String,
pub type_parameters: Vec<TypeParameter>,
pub parameters: Vec<Parameter>,
pub span: Range<usize>,
}Expand description
委托声明
Fields§
§name: String§attributes: Vec<Attribute>§modifiers: Vec<String>§return_type: String§type_parameters: Vec<TypeParameter>§parameters: Vec<Parameter>§span: Range<usize>Trait Implementations§
Source§impl Clone for DelegateDeclaration
impl Clone for DelegateDeclaration
Source§fn clone(&self) -> DelegateDeclaration
fn clone(&self) -> DelegateDeclaration
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 DelegateDeclaration
impl Debug for DelegateDeclaration
Source§impl<'de> Deserialize<'de> for DelegateDeclaration
impl<'de> Deserialize<'de> for DelegateDeclaration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for DelegateDeclaration
impl PartialEq for DelegateDeclaration
Source§impl Serialize for DelegateDeclaration
impl Serialize for DelegateDeclaration
impl StructuralPartialEq for DelegateDeclaration
Auto Trait Implementations§
impl Freeze for DelegateDeclaration
impl RefUnwindSafe for DelegateDeclaration
impl Send for DelegateDeclaration
impl Sync for DelegateDeclaration
impl Unpin for DelegateDeclaration
impl UnwindSafe for DelegateDeclaration
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