pub enum DeduplicatedFunctionProfile {
Single(String, TokenStreamWrapper),
Multiple(Vec<String>),
}Expand description
Represents the state of a function name, with it either being only present once or existing multiple times.
Variants§
Trait Implementations§
Source§impl Clone for DeduplicatedFunctionProfile
impl Clone for DeduplicatedFunctionProfile
Source§fn clone(&self) -> DeduplicatedFunctionProfile
fn clone(&self) -> DeduplicatedFunctionProfile
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 moreAuto Trait Implementations§
impl Freeze for DeduplicatedFunctionProfile
impl RefUnwindSafe for DeduplicatedFunctionProfile
impl Send for DeduplicatedFunctionProfile
impl Sync for DeduplicatedFunctionProfile
impl Unpin for DeduplicatedFunctionProfile
impl UnwindSafe for DeduplicatedFunctionProfile
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