pub struct UiNodeImageAttributes {
pub height: i64,
pub id: String,
pub node_type: NodeTypeEnum,
pub src: String,
pub width: i64,
}Fields§
§height: i64Height of the image
id: StringA unique identifier
node_type: NodeTypeEnumNodeType represents this node’s types. It is a mirror of node.type and is primarily used to allow compatibility with OpenAPI 3.0. In this struct it technically always is "img". text Text input Input img Image a Anchor script Script div Division
src: StringThe image’s source URL. format: uri
width: i64Width of the image
Implementations§
Source§impl UiNodeImageAttributes
impl UiNodeImageAttributes
pub fn new( height: i64, id: String, node_type: NodeTypeEnum, src: String, width: i64, ) -> UiNodeImageAttributes
Trait Implementations§
Source§impl Clone for UiNodeImageAttributes
impl Clone for UiNodeImageAttributes
Source§fn clone(&self) -> UiNodeImageAttributes
fn clone(&self) -> UiNodeImageAttributes
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UiNodeImageAttributes
impl Debug for UiNodeImageAttributes
Source§impl Default for UiNodeImageAttributes
impl Default for UiNodeImageAttributes
Source§fn default() -> UiNodeImageAttributes
fn default() -> UiNodeImageAttributes
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UiNodeImageAttributes
impl<'de> Deserialize<'de> for UiNodeImageAttributes
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for UiNodeImageAttributes
impl PartialEq for UiNodeImageAttributes
Source§impl Serialize for UiNodeImageAttributes
impl Serialize for UiNodeImageAttributes
impl StructuralPartialEq for UiNodeImageAttributes
Auto Trait Implementations§
impl Freeze for UiNodeImageAttributes
impl RefUnwindSafe for UiNodeImageAttributes
impl Send for UiNodeImageAttributes
impl Sync for UiNodeImageAttributes
impl Unpin for UiNodeImageAttributes
impl UnwindSafe for UiNodeImageAttributes
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more