pub struct Doctest {
pub lang: String,
pub fence_attributes: Vec<String>,
pub display_code: String,
pub executable_code: String,
pub implicit_main_wrap: bool,
pub source: Option<SourceLocation>,
pub ordinal: u32,
}Fields§
§lang: String§fence_attributes: Vec<String>§display_code: String§executable_code: String§implicit_main_wrap: bool§source: Option<SourceLocation>§ordinal: u32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Doctest
impl<'de> Deserialize<'de> for Doctest
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
Auto Trait Implementations§
impl Freeze for Doctest
impl RefUnwindSafe for Doctest
impl Send for Doctest
impl Sync for Doctest
impl Unpin for Doctest
impl UnsafeUnpin for Doctest
impl UnwindSafe for Doctest
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