Struct ftd::iframe::IFrame [−][src]
pub struct IFrame { pub caption: Option<Rendered>, pub src: String, pub height: Option<i32>, pub width: Option<i32>, pub desktop: Option<String>, pub tablet: Option<String>, pub mobile: Option<String>, }
Fields
src: String
height: Option<i32>
width: Option<i32>
desktop: Option<String>
tablet: Option<String>
mobile: Option<String>
Implementations
impl IFrame
[src]
impl IFrame
[src]pub fn to_p1(&self) -> Section
[src]
pub fn from_p1(p1: &Section) -> Result<Self, ParseError>
[src]
pub fn with_caption(self, caption: &str) -> Self
[src]
pub fn with_src(self, src: &str) -> Self
[src]
pub fn with_height(self, height: i32) -> Self
[src]
pub fn with_width(self, width: i32) -> Self
[src]
Trait Implementations
impl StructuralPartialEq for IFrame
[src]
impl StructuralPartialEq for IFrame
[src]Auto Trait Implementations
impl RefUnwindSafe for IFrame
impl RefUnwindSafe for IFrame
impl UnwindSafe for IFrame
impl UnwindSafe for IFrame
Blanket Implementations
impl<T> CloneAny for T where
T: Any + Clone,
impl<T> CloneAny for T where
T: Any + Clone,
pub fn clone_any(&self) -> Box<dyn CloneAny + 'static, Global>
pub fn clone_any_send(&self) -> Box<dyn CloneAny + 'static + Send, Global> where
T: Send,
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + 'static + Sync, Global> where
T: Sync,
T: Sync,
pub fn clone_any_send_sync(
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
&self
) -> Box<dyn CloneAny + 'static + Sync + Send, Global> where
T: Send + Sync,
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> UnsafeAny for T where
T: Any,
impl<T> UnsafeAny for T where
T: Any,