Struct rustc_span::DebuggerVisualizerFile
source · pub struct DebuggerVisualizerFile {
pub src: Arc<[u8]>,
pub visualizer_type: DebuggerVisualizerType,
}
Expand description
A single debugger visualizer file.
Fields§
§src: Arc<[u8]>
The complete debugger visualizer source.
visualizer_type: DebuggerVisualizerType
Indicates which visualizer type this targets.
Implementations§
source§impl DebuggerVisualizerFile
impl DebuggerVisualizerFile
pub fn new(src: Arc<[u8]>, visualizer_type: DebuggerVisualizerType) -> Self
Trait Implementations§
source§impl Clone for DebuggerVisualizerFile
impl Clone for DebuggerVisualizerFile
source§fn clone(&self) -> DebuggerVisualizerFile
fn clone(&self) -> DebuggerVisualizerFile
Returns a copy 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 DebuggerVisualizerFile
impl Debug for DebuggerVisualizerFile
source§impl<__D: Decoder> Decodable<__D> for DebuggerVisualizerFile
impl<__D: Decoder> Decodable<__D> for DebuggerVisualizerFile
source§impl<__E: Encoder> Encodable<__E> for DebuggerVisualizerFile
impl<__E: Encoder> Encodable<__E> for DebuggerVisualizerFile
source§impl Hash for DebuggerVisualizerFile
impl Hash for DebuggerVisualizerFile
source§impl<__CTX> HashStable<__CTX> for DebuggerVisualizerFilewhere
__CTX: HashStableContext,
impl<__CTX> HashStable<__CTX> for DebuggerVisualizerFilewhere
__CTX: HashStableContext,
fn hash_stable(&self, __hcx: &mut __CTX, __hasher: &mut StableHasher)
source§impl Ord for DebuggerVisualizerFile
impl Ord for DebuggerVisualizerFile
source§fn cmp(&self, other: &DebuggerVisualizerFile) -> Ordering
fn cmp(&self, other: &DebuggerVisualizerFile) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<DebuggerVisualizerFile> for DebuggerVisualizerFile
impl PartialEq<DebuggerVisualizerFile> for DebuggerVisualizerFile
source§fn eq(&self, other: &DebuggerVisualizerFile) -> bool
fn eq(&self, other: &DebuggerVisualizerFile) -> bool
source§impl PartialOrd<DebuggerVisualizerFile> for DebuggerVisualizerFile
impl PartialOrd<DebuggerVisualizerFile> for DebuggerVisualizerFile
source§fn partial_cmp(&self, other: &DebuggerVisualizerFile) -> Option<Ordering>
fn partial_cmp(&self, other: &DebuggerVisualizerFile) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for DebuggerVisualizerFile
impl StructuralEq for DebuggerVisualizerFile
impl StructuralPartialEq for DebuggerVisualizerFile
Auto Trait Implementations§
impl RefUnwindSafe for DebuggerVisualizerFile
impl Send for DebuggerVisualizerFile
impl Sync for DebuggerVisualizerFile
impl Unpin for DebuggerVisualizerFile
impl UnwindSafe for DebuggerVisualizerFile
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes