pub struct ThemeRuntimeIds {
pub config_id: String,
pub prepaint_style_id: String,
pub runtime_asset_id: String,
}Fields§
§config_id: String§prepaint_style_id: String§runtime_asset_id: StringImplementations§
Source§impl ThemeRuntimeIds
impl ThemeRuntimeIds
pub fn with_config_id(self, id: impl Into<String>) -> Self
pub fn with_prepaint_style_id(self, id: impl Into<String>) -> Self
pub fn with_runtime_asset_id(self, id: impl Into<String>) -> Self
pub fn duplicate_ids(&self) -> Vec<String>
pub fn deduped(self) -> Self
Trait Implementations§
Source§impl Clone for ThemeRuntimeIds
impl Clone for ThemeRuntimeIds
Source§fn clone(&self) -> ThemeRuntimeIds
fn clone(&self) -> ThemeRuntimeIds
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 ThemeRuntimeIds
impl Debug for ThemeRuntimeIds
Source§impl Default for ThemeRuntimeIds
impl Default for ThemeRuntimeIds
Source§impl<'de> Deserialize<'de> for ThemeRuntimeIds
impl<'de> Deserialize<'de> for ThemeRuntimeIds
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 ThemeRuntimeIds
Source§impl PartialEq for ThemeRuntimeIds
impl PartialEq for ThemeRuntimeIds
Source§fn eq(&self, other: &ThemeRuntimeIds) -> bool
fn eq(&self, other: &ThemeRuntimeIds) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ThemeRuntimeIds
impl Serialize for ThemeRuntimeIds
impl StructuralPartialEq for ThemeRuntimeIds
Auto Trait Implementations§
impl Freeze for ThemeRuntimeIds
impl RefUnwindSafe for ThemeRuntimeIds
impl Send for ThemeRuntimeIds
impl Sync for ThemeRuntimeIds
impl Unpin for ThemeRuntimeIds
impl UnsafeUnpin for ThemeRuntimeIds
impl UnwindSafe for ThemeRuntimeIds
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