pub struct DebugInfo {
pub enabled: bool,
pub sources: Rc<RefCell<HashSet<CubeFnSource>>>,
pub variable_names: Rc<RefCell<HashMap<Variable, Cow<'static, str>>>>,
pub source_loc: Option<SourceLoc>,
pub entry_loc: Option<SourceLoc>,
}
Expand description
Debug related fields, most of these are global
Fields§
§enabled: bool
§sources: Rc<RefCell<HashSet<CubeFnSource>>>
§variable_names: Rc<RefCell<HashMap<Variable, Cow<'static, str>>>>
§source_loc: Option<SourceLoc>
§entry_loc: Option<SourceLoc>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DebugInfo
impl<'de> Deserialize<'de> for DebugInfo
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
impl Eq for DebugInfo
impl StructuralPartialEq for DebugInfo
Auto Trait Implementations§
impl Freeze for DebugInfo
impl !RefUnwindSafe for DebugInfo
impl !Send for DebugInfo
impl !Sync for DebugInfo
impl Unpin for DebugInfo
impl !UnwindSafe for DebugInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.