[−][src]Enum tweep::PassageContent
An enum of the types of content that can be inside a Passage
Variants
Normal(TwineContent)
A non-special passage that contains Twine content
StoryTitle(StoryTitle)
A passage that contains the title of the story
A passage that contains the story data defined by the specification
Script(ScriptContent)
A passage that is tagged with script
and contains a script
Stylesheet(StylesheetContent)
A passage that is tagged with stylesheet
and contains CSS
Trait Implementations
impl Debug for PassageContent
[src]
impl From<Option<StoryData>> for PassageContent
[src]
fn from(d: Option<StoryData>) -> PassageContent
[src]
impl From<ScriptContent> for PassageContent
[src]
fn from(s: ScriptContent) -> PassageContent
[src]
impl From<StoryData> for PassageContent
[src]
fn from(d: StoryData) -> PassageContent
[src]
impl From<StoryTitle> for PassageContent
[src]
fn from(t: StoryTitle) -> PassageContent
[src]
impl From<StylesheetContent> for PassageContent
[src]
fn from(s: StylesheetContent) -> PassageContent
[src]
impl From<TwineContent> for PassageContent
[src]
fn from(p: TwineContent) -> PassageContent
[src]
Auto Trait Implementations
impl !RefUnwindSafe for PassageContent
impl !Send for PassageContent
impl !Sync for PassageContent
impl Unpin for PassageContent
impl UnwindSafe for PassageContent
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,
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.
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>,