pub struct FunctionInfoId(/* private fields */);Expand description
Identity of a FunctionInfo (hermes::sema::FunctionInfo,
SemContext.h:291).
Implementations§
Source§impl FunctionInfoId
impl FunctionInfoId
Sourcepub fn from_sema_id(id: SemaId) -> Self
pub fn from_sema_id(id: SemaId) -> Self
Wraps a raw SemaId produced elsewhere (e.g. stored on an
AST node) as this specific id type.
Trait Implementations§
Source§impl Clone for FunctionInfoId
impl Clone for FunctionInfoId
Source§fn clone(&self) -> FunctionInfoId
fn clone(&self) -> FunctionInfoId
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for FunctionInfoId
Source§impl Debug for FunctionInfoId
impl Debug for FunctionInfoId
impl Eq for FunctionInfoId
Source§impl Hash for FunctionInfoId
impl Hash for FunctionInfoId
Source§impl PartialEq for FunctionInfoId
impl PartialEq for FunctionInfoId
impl StructuralPartialEq for FunctionInfoId
Auto Trait Implementations§
impl Freeze for FunctionInfoId
impl RefUnwindSafe for FunctionInfoId
impl Send for FunctionInfoId
impl Sync for FunctionInfoId
impl Unpin for FunctionInfoId
impl UnsafeUnpin for FunctionInfoId
impl UnwindSafe for FunctionInfoId
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