pub struct OwnedFunctionMetadata {
pub signature: UniqueSignatureIndex,
pub name: Option<String>,
}
Fields§
§signature: UniqueSignatureIndex
§name: Option<String>
Implementations§
Source§impl OwnedFunctionMetadata
impl OwnedFunctionMetadata
pub fn to_ref(&self) -> FunctionMetadata<'_>
Trait Implementations§
Source§impl Clone for OwnedFunctionMetadata
impl Clone for OwnedFunctionMetadata
Source§fn clone(&self) -> OwnedFunctionMetadata
fn clone(&self) -> OwnedFunctionMetadata
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 OwnedFunctionMetadata
impl Debug for OwnedFunctionMetadata
Source§impl<'de> Deserialize<'de> for OwnedFunctionMetadata
impl<'de> Deserialize<'de> for OwnedFunctionMetadata
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
Auto Trait Implementations§
impl Freeze for OwnedFunctionMetadata
impl RefUnwindSafe for OwnedFunctionMetadata
impl Send for OwnedFunctionMetadata
impl Sync for OwnedFunctionMetadata
impl Unpin for OwnedFunctionMetadata
impl UnwindSafe for OwnedFunctionMetadata
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