Struct gxi_web_binds::Img[][src]

pub struct Img {
    pub parent: WeakNodeRc,
    pub sibling: Option<NodeRc>,
    pub widget: Element,
}

Fields

parent: WeakNodeRcsibling: Option<NodeRc>widget: Element

Implementations

impl Img[src]

pub fn alt(&self, value: &str)[src]

pub fn crossorigin(&self, value: &str)[src]

pub fn decoding(&self, value: &str)[src]

pub fn height(&self, value: u32)[src]

pub fn ismap(&self, value: bool)[src]

pub fn loading(&self, value: &str)[src]

pub fn referrerpolicy(&self, value: &str)[src]

pub fn sizes(&self, value: &str)[src]

pub fn src(&self, value: &str)[src]

pub fn srcset(&self, value: &str)[src]

pub fn width(&self, value: u32)[src]

pub fn usemap(&self, value: &str)[src]

Trait Implementations

impl Drop for Img[src]

impl GlobalAttributes for Img[src]

impl Node for Img[src]

Auto Trait Implementations

impl !RefUnwindSafe for Img

impl !Send for Img

impl !Sync for Img

impl Unpin for Img

impl !UnwindSafe for Img

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.