pub struct SourceCode {
pub source: String,
pub type: Type,
}Fields§
§source: String§type: TypeImplementations§
Trait Implementations§
Source§impl Clone for SourceCode
impl Clone for SourceCode
Source§fn clone(&self) -> SourceCode
fn clone(&self) -> SourceCode
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 SourceCode
impl Debug for SourceCode
impl Eq for SourceCode
Source§impl Hash for SourceCode
impl Hash for SourceCode
Source§impl PartialEq for SourceCode
impl PartialEq for SourceCode
Source§fn eq(&self, other: &SourceCode) -> bool
fn eq(&self, other: &SourceCode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SourceCode
Auto Trait Implementations§
impl Freeze for SourceCode
impl RefUnwindSafe for SourceCode
impl Send for SourceCode
impl Sync for SourceCode
impl Unpin for SourceCode
impl UnsafeUnpin for SourceCode
impl UnwindSafe for SourceCode
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