pub struct FunctionAddress { /* private fields */ }
Expand description
Represents an address/path to a function: so the key in a map to function signatures If an extension/member function, then target will be set to Some, and point to the calling type Otherwise, target will be None So example Geometry::Point has a getX function, it will have path = Geometry::getX and target = Geometry::Point Removes need for special paths such as “Point`getX”
Trait Implementations§
Source§impl Clone for FunctionAddress
impl Clone for FunctionAddress
Source§fn clone(&self) -> FunctionAddress
fn clone(&self) -> FunctionAddress
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 Hash for FunctionAddress
impl Hash for FunctionAddress
Source§impl PartialEq for FunctionAddress
impl PartialEq for FunctionAddress
Source§impl SimpleCodeGen for FunctionAddress
impl SimpleCodeGen for FunctionAddress
impl Eq for FunctionAddress
impl StructuralPartialEq for FunctionAddress
Auto Trait Implementations§
impl Freeze for FunctionAddress
impl RefUnwindSafe for FunctionAddress
impl Send for FunctionAddress
impl Sync for FunctionAddress
impl Unpin for FunctionAddress
impl UnwindSafe for FunctionAddress
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