pub struct DelegateInfo<'a> {
pub prop: &'a PropertyInfo,
pub class_name: &'a str,
pub rust_name: String,
pub struct_name: String,
pub is_multicast: bool,
pub params: Vec<DelegateParam>,
}Expand description
Information about a delegate property to generate code for.
Fields§
§prop: &'a PropertyInfo§class_name: &'a str§rust_name: StringRust name for the accessor method (snake_case).
struct_name: StringStruct name for the delegate wrapper (PascalCase).
is_multicast: boolWhether this is a multicast delegate.
params: Vec<DelegateParam>Parsed delegate parameters.
Auto Trait Implementations§
impl<'a> Freeze for DelegateInfo<'a>
impl<'a> RefUnwindSafe for DelegateInfo<'a>
impl<'a> Send for DelegateInfo<'a>
impl<'a> Sync for DelegateInfo<'a>
impl<'a> Unpin for DelegateInfo<'a>
impl<'a> UnsafeUnpin for DelegateInfo<'a>
impl<'a> UnwindSafe for DelegateInfo<'a>
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