pub struct UiResourceId(pub String);Expand description
Opaque identifier for an adapter-resolved image resource.
Tuple Fields§
§0: StringTrait Implementations§
Source§impl Clone for UiResourceId
impl Clone for UiResourceId
Source§fn clone(&self) -> UiResourceId
fn clone(&self) -> UiResourceId
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 moreSource§impl Debug for UiResourceId
impl Debug for UiResourceId
Source§impl<'de> Deserialize<'de> for UiResourceId
impl<'de> Deserialize<'de> for UiResourceId
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
impl Eq for UiResourceId
Source§impl Ord for UiResourceId
impl Ord for UiResourceId
Source§fn cmp(&self, other: &UiResourceId) -> Ordering
fn cmp(&self, other: &UiResourceId) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for UiResourceId
impl PartialEq for UiResourceId
Source§fn eq(&self, other: &UiResourceId) -> bool
fn eq(&self, other: &UiResourceId) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for UiResourceId
impl PartialOrd for UiResourceId
Source§impl Serialize for UiResourceId
impl Serialize for UiResourceId
impl StructuralPartialEq for UiResourceId
Auto Trait Implementations§
impl Freeze for UiResourceId
impl RefUnwindSafe for UiResourceId
impl Send for UiResourceId
impl Sync for UiResourceId
impl Unpin for UiResourceId
impl UnsafeUnpin for UiResourceId
impl UnwindSafe for UiResourceId
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