Enum bard::book::Inline [−][src]
Variants
Fields of Text
text: BStr
In bard all line breaks are considered hard breaks
Emph(Inlines)
Strong(Inlines)
Link(Link)
Image(Image)
ChorusRef(ChorusRef)
Transpose(Transpose)
Only used internally by the parser to apply transposition
Implementations
impl Inline
[src]
pub fn is_break(&self) -> bool
[src]
pub fn is_xpose(&self) -> bool
[src]
pub fn unwrap_xpose(&self) -> Transpose
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Inline
impl Send for Inline
impl Sync for Inline
impl Unpin for Inline
impl UnwindSafe for Inline
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> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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>,