#[non_exhaustive]pub enum ScopePresentationHint {
Arguments,
Locals,
Registers,
Unknown,
}
Expand description
A hint for how to present this scope in the UI. If this attribute is missing, the scope is shown with a generic UI.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Arguments
Scope contains method arguments.
Locals
Scope contains local variables.
Registers
Scope contains registers. Only a single registers
scope should be returned from a scopes
request.
Unknown
Trait Implementations§
Source§impl Clone for ScopePresentationHint
impl Clone for ScopePresentationHint
Source§fn clone(&self) -> ScopePresentationHint
fn clone(&self) -> ScopePresentationHint
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 ScopePresentationHint
impl Debug for ScopePresentationHint
Source§impl<'de> Deserialize<'de> for ScopePresentationHint
impl<'de> Deserialize<'de> for ScopePresentationHint
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
Source§impl Hash for ScopePresentationHint
impl Hash for ScopePresentationHint
Source§impl PartialEq for ScopePresentationHint
impl PartialEq for ScopePresentationHint
Source§impl Serialize for ScopePresentationHint
impl Serialize for ScopePresentationHint
impl Eq for ScopePresentationHint
impl StructuralPartialEq for ScopePresentationHint
Auto Trait Implementations§
impl Freeze for ScopePresentationHint
impl RefUnwindSafe for ScopePresentationHint
impl Send for ScopePresentationHint
impl Sync for ScopePresentationHint
impl Unpin for ScopePresentationHint
impl UnwindSafe for ScopePresentationHint
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