pub struct DocsSection {
pub site_package: Option<String>,
pub content: Option<String>,
}Expand description
Validated [docs] section of nativeview.toml.
Fields§
§site_package: Option<String>Cargo package name exposing the docs site binary (overridden by --site-package).
content: Option<String>Relative path to the docs content directory (overridden by --content).
Trait Implementations§
Source§impl Clone for DocsSection
impl Clone for DocsSection
Source§impl Debug for DocsSection
impl Debug for DocsSection
Source§impl Default for DocsSection
impl Default for DocsSection
impl Eq for DocsSection
Source§impl PartialEq for DocsSection
impl PartialEq for DocsSection
impl StructuralPartialEq for DocsSection
Auto Trait Implementations§
impl Forget for DocsSection
impl Freeze for DocsSection
impl Move for DocsSection
impl RefUnwindSafe for DocsSection
impl Send for DocsSectionwhere
RawVecInner: Send,
impl Sync for DocsSectionwhere
RawVecInner: Sync,
impl Unpin for DocsSection
impl UnsafeUnpin for DocsSection
impl UnwindSafe for DocsSectionwhere
RawVecInner: UnwindSafe,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.