pub struct DocLocaleConfig { /* private fields */ }Expand description
Per-locale site configuration declared under locales: in root README.md frontmatter.
Implementations§
Source§impl DocLocaleConfig
impl DocLocaleConfig
pub fn get_prefix(&self) -> &String
pub fn get_dir(&self) -> &String
pub fn get_lang(&self) -> &String
pub fn get_label(&self) -> &String
pub fn get_title(&self) -> String
pub fn try_get_title(&self) -> &Option<String>
pub fn get_description(&self) -> String
pub fn try_get_description(&self) -> &Option<String>
pub fn get_toc_label(&self) -> String
pub fn try_get_toc_label(&self) -> &Option<String>
pub fn get_prev_label(&self) -> String
pub fn try_get_prev_label(&self) -> &Option<String>
pub fn get_next_label(&self) -> String
pub fn try_get_next_label(&self) -> &Option<String>
Trait Implementations§
Source§impl Clone for DocLocaleConfig
impl Clone for DocLocaleConfig
Source§impl Debug for DocLocaleConfig
impl Debug for DocLocaleConfig
Source§impl Default for DocLocaleConfig
impl Default for DocLocaleConfig
Source§impl<'de> Deserialize<'de> for DocLocaleConfig
impl<'de> Deserialize<'de> for DocLocaleConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for DocLocaleConfig
Source§impl PartialEq for DocLocaleConfig
impl PartialEq for DocLocaleConfig
Source§impl Serialize for DocLocaleConfig
impl Serialize for DocLocaleConfig
impl StructuralPartialEq for DocLocaleConfig
Auto Trait Implementations§
impl Forget for DocLocaleConfig
impl Freeze for DocLocaleConfig
impl Move for DocLocaleConfig
impl RefUnwindSafe for DocLocaleConfig
impl Send for DocLocaleConfigwhere
RawVecInner: Send,
impl Sync for DocLocaleConfigwhere
RawVecInner: Sync,
impl Unpin for DocLocaleConfig
impl UnsafeUnpin for DocLocaleConfigwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<DocNavbarItem>: UnsafeUnpin,
impl UnwindSafe for DocLocaleConfigwhere
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.