pub enum TextSource {
File(Arc<File>),
FileDocs(Arc<FileDocs>),
}
Expand description
Markdown parser text source which may be either readme file contents or package target parsed documentation.
Variants§
Trait Implementations§
Source§impl Clone for TextSource
impl Clone for TextSource
Source§fn clone(&self) -> TextSource
fn clone(&self) -> TextSource
Returns a copy of the value. Read more
1.0.0 · 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 TextSource
impl Debug for TextSource
Source§impl PartialEq for TextSource
impl PartialEq for TextSource
impl StructuralPartialEq for TextSource
Auto Trait Implementations§
impl Freeze for TextSource
impl RefUnwindSafe for TextSource
impl Send for TextSource
impl Sync for TextSource
impl Unpin for TextSource
impl UnwindSafe for TextSource
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