pub struct BlockSource {
pub text: String,
pub span: SourceSpan,
}Fields§
§text: String§span: SourceSpanTrait Implementations§
Source§impl Clone for BlockSource
impl Clone for BlockSource
Source§fn clone(&self) -> BlockSource
fn clone(&self) -> BlockSource
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 BlockSource
impl Debug for BlockSource
impl Eq for BlockSource
Source§impl PartialEq for BlockSource
impl PartialEq for BlockSource
impl StructuralPartialEq for BlockSource
Auto Trait Implementations§
impl Freeze for BlockSource
impl RefUnwindSafe for BlockSource
impl Send for BlockSource
impl Sync for BlockSource
impl Unpin for BlockSource
impl UnsafeUnpin for BlockSource
impl UnwindSafe for BlockSource
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