Enum mrml::mj_carousel::MJCarouselChild [−][src]
pub enum MJCarouselChild { Comment(Comment), MJCarouselImage(MJCarouselImage), }
Variants
Comment(Comment)
MJCarouselImage(MJCarouselImage)
Implementations
impl MJCarouselChild
[src]
impl MJCarouselChild
[src]pub fn as_image(&self) -> Option<&MJCarouselImage>
[src]
Trait Implementations
impl Debug for MJCarouselChild
[src]
impl Debug for MJCarouselChild
[src]impl<'de> Deserialize<'de> for MJCarouselChild
[src]
impl<'de> Deserialize<'de> for MJCarouselChild
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
impl From<Comment> for MJCarouselChild
[src]
impl From<Comment> for MJCarouselChild
[src]impl From<MJCarouselImage> for MJCarouselChild
[src]
impl From<MJCarouselImage> for MJCarouselChild
[src]fn from(value: MJCarouselImage) -> Self
[src]
fn from(value: MJCarouselImage) -> Self
[src]Performs the conversion.
impl Parsable for MJCarouselChild
[src]
impl Parsable for MJCarouselChild
[src]impl Print for MJCarouselChild
[src]
impl Print for MJCarouselChild
[src]impl<'r, 'e: 'r, 'h: 'r> Renderable<'r, 'e, 'h> for MJCarouselChild
[src]
impl<'r, 'e: 'r, 'h: 'r> Renderable<'r, 'e, 'h> for MJCarouselChild
[src]impl Serialize for MJCarouselChild
[src]
impl Serialize for MJCarouselChild
[src]Auto Trait Implementations
impl RefUnwindSafe for MJCarouselChild
impl Send for MJCarouselChild
impl Sync for MJCarouselChild
impl Unpin for MJCarouselChild
impl UnwindSafe for MJCarouselChild
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
pub fn vzip(self) -> V
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,