pub struct Method {
pub is_static: bool,
pub name: String,
pub mangled_name: String,
pub args: Vec<Arg>,
pub ret_type: RetType,
}
Expand description
A C++ method
Fields§
§is_static: bool
Whether the method is static.
name: String
The name of the method.
mangled_name: String
A mangled version of the method that makes it unique among all of the methods of its class.
args: Vec<Arg>
The arguments that the method takes, in declaration order.
ret_type: RetType
The return type of the method.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Method
impl RefUnwindSafe for Method
impl Send for Method
impl Sync for Method
impl Unpin for Method
impl UnwindSafe for Method
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