pub struct AppearanceSpec {
pub id: String,
pub targets: Vec<String>,
pub pieces: Vec<AppearancePiece>,
}Expand description
#[appearance(...)] on a struct.
Fields§
§id: StringIts id.
targets: Vec<String>The names it applies to.
pieces: Vec<AppearancePiece>Its settings, in the order written.
Trait Implementations§
Source§impl Clone for AppearanceSpec
impl Clone for AppearanceSpec
Source§fn clone(&self) -> AppearanceSpec
fn clone(&self) -> AppearanceSpec
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 moreAuto Trait Implementations§
impl !Send for AppearanceSpec
impl !Sync for AppearanceSpec
impl Freeze for AppearanceSpec
impl RefUnwindSafe for AppearanceSpec
impl Unpin for AppearanceSpec
impl UnsafeUnpin for AppearanceSpec
impl UnwindSafe for AppearanceSpec
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