Struct ra_ap_hir_expand::MacroCallId [−][src]
pub struct MacroCallId(_);
Expand description
MacroCallId
identifies a particular macro invocation, like
println!("Hello, {}", world)
.
Implementations
impl MacroCallId
[src]
impl MacroCallId
[src]Trait Implementations
impl Clone for MacroCallId
[src]
impl Clone for MacroCallId
[src]fn clone(&self) -> MacroCallId
[src]
fn clone(&self) -> MacroCallId
[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]Performs copy-assignment from source
. Read more
impl Debug for MacroCallId
[src]
impl Debug for MacroCallId
[src]impl Hash for MacroCallId
[src]
impl Hash for MacroCallId
[src]impl InternKey for MacroCallId
[src]
impl InternKey for MacroCallId
[src]fn from_intern_id(v: InternId) -> Self
[src]
fn from_intern_id(v: InternId) -> Self
[src]Create an instance of the intern-key from a u32
value.
fn as_intern_id(&self) -> InternId
[src]
fn as_intern_id(&self) -> InternId
[src]Extract the u32
with which the intern-key was created.
impl PartialEq<MacroCallId> for MacroCallId
[src]
impl PartialEq<MacroCallId> for MacroCallId
[src]fn eq(&self, other: &MacroCallId) -> bool
[src]
fn eq(&self, other: &MacroCallId) -> bool
[src]This method tests for self
and other
values to be equal, and is used
by ==
. Read more
fn ne(&self, other: &MacroCallId) -> bool
[src]
fn ne(&self, other: &MacroCallId) -> bool
[src]This method tests for !=
.
impl Copy for MacroCallId
[src]
impl Eq for MacroCallId
[src]
impl StructuralEq for MacroCallId
[src]
impl StructuralPartialEq for MacroCallId
[src]
Auto Trait Implementations
impl RefUnwindSafe for MacroCallId
impl Send for MacroCallId
impl Sync for MacroCallId
impl Unpin for MacroCallId
impl UnwindSafe for MacroCallId
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
[src]
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
[src]pub fn equivalent(&self, key: &K) -> bool
[src]
pub fn equivalent(&self, key: &K) -> bool
[src]Compare self to key
and return true
if they are equal.
impl<T> ToOwned for T where
T: Clone,
[src]
impl<T> ToOwned for T where
T: Clone,
[src]type Owned = T
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn to_owned(&self) -> T
[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)
[src]
pub fn clone_into(&self, target: &mut T)
[src]🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more