pub struct Lang;Trait Implementations§
Source§impl LangExtractor for Lang
impl LangExtractor for Lang
const LANG_TAG: &'static str = "rs"
const ALLOWED_KINDS: &'static [&'static str]
const ALLOWED_VISIBILITIES: &'static [&'static str]
type Presets = Presets
fn extract( uri: &str, source: &str, anchor: &Moniker, deep: bool, presets: &Self::Presets, ) -> CodeGraph
fn declare(spec: &Value) -> Result<CodeGraph, DeclareError>
fn to_spec(graph: &CodeGraph) -> Result<Value, SerializeError>
Auto Trait Implementations§
impl Freeze for Lang
impl RefUnwindSafe for Lang
impl Send for Lang
impl Sync for Lang
impl Unpin for Lang
impl UnsafeUnpin for Lang
impl UnwindSafe for Lang
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