pub struct ToStringResult {
pub name: String,
pub type_spans: Vec<ToStringSpan>,
pub invalid: bool,
pub error: bool,
pub cycle: bool,
pub truncated: bool,
}Fields§
§name: String§type_spans: Vec<ToStringSpan>Records which TypeId produced each substring of the output. Only recorded for named types
invalid: bool§error: bool§cycle: bool§truncated: boolImplementations§
Trait Implementations§
Source§impl Clone for ToStringResult
impl Clone for ToStringResult
Source§fn clone(&self) -> ToStringResult
fn clone(&self) -> ToStringResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ToStringResult
impl Debug for ToStringResult
Auto Trait Implementations§
impl !Send for ToStringResult
impl !Sync for ToStringResult
impl Freeze for ToStringResult
impl RefUnwindSafe for ToStringResult
impl Unpin for ToStringResult
impl UnsafeUnpin for ToStringResult
impl UnwindSafe for ToStringResult
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