Struct somedoc::model::block::Formatted [−][src]
A pre-formatted block of text, no formatting should be done on the inner content.
Implementations
impl Formatted
[src]
pub fn inner(&self) -> &String
[src]
Return a reference to the inner value.
pub fn into_inner(self) -> String
[src]
Return the inner value, consuming the outer one.
Trait Implementations
impl Clone for Formatted
[src]
impl Debug for Formatted
[src]
impl<'de> Deserialize<'de> for Formatted
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl From<&'_ str> for Formatted
[src]
impl From<String> for Formatted
[src]
impl HasLabel for Formatted
[src]
fn has_label(&self) -> bool
[src]
fn label(&self) -> &Option<Label>
[src]
fn set_label(&mut self, label: Label) -> &mut Self
[src]
fn unset_label(&mut self) -> &mut Self
[src]
impl Into<BlockContent> for Formatted
[src]
fn into(self) -> BlockContent
[src]
impl Serialize for Formatted
[src]
Auto Trait Implementations
impl RefUnwindSafe for Formatted
[src]
impl Send for Formatted
[src]
impl Sync for Formatted
[src]
impl Unpin for Formatted
[src]
impl UnwindSafe for Formatted
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,