pub struct StyleInformationStruct<'a> {
pub image_url: Option<&'a str>,
pub color: Option<&'a str>,
pub size: Option<DimensionStruct>,
}Expand description
StyleInformationStruct.
Fields§
§image_url: Option<&'a str>ImageURL, field 0.
color: Option<&'a str>Color, field 1.
size: Option<DimensionStruct>Size, field 2.
Trait Implementations§
Source§impl<'a> Clone for StyleInformationStruct<'a>
impl<'a> Clone for StyleInformationStruct<'a>
Source§fn clone(&self) -> StyleInformationStruct<'a>
fn clone(&self) -> StyleInformationStruct<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for StyleInformationStruct<'a>
Source§impl<'a> Debug for StyleInformationStruct<'a>
impl<'a> Debug for StyleInformationStruct<'a>
Source§impl<'a> FromTlv<'a> for StyleInformationStruct<'a>
impl<'a> FromTlv<'a> for StyleInformationStruct<'a>
Source§impl<'a> PartialEq for StyleInformationStruct<'a>
impl<'a> PartialEq for StyleInformationStruct<'a>
impl<'a> StructuralPartialEq for StyleInformationStruct<'a>
Auto Trait Implementations§
impl<'a> Freeze for StyleInformationStruct<'a>
impl<'a> RefUnwindSafe for StyleInformationStruct<'a>
impl<'a> Send for StyleInformationStruct<'a>
impl<'a> Sync for StyleInformationStruct<'a>
impl<'a> Unpin for StyleInformationStruct<'a>
impl<'a> UnsafeUnpin for StyleInformationStruct<'a>
impl<'a> UnwindSafe for StyleInformationStruct<'a>
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