pub struct Variant {
pub values: Values,
pub url: String,
pub url2x: Option<String>,
pub width: u64,
pub height: u64,
pub bytes: Option<u64>,
pub bytes2x: Option<u64>,
pub thumb: Option<Thumb>,
}Fields§
§values: ValuesA value key per dimension.
url: String§url2x: Option<String>§width: u64§height: u64§bytes: Option<u64>Bytes of url and url2x, when the manifest gives them.
bytes2x: Option<u64>§thumb: Option<Thumb>The cards’ small copy, when the manifest gives one; the full-size view shows url.
Trait Implementations§
impl StructuralPartialEq for Variant
Auto Trait Implementations§
impl Forget for Variant
impl Freeze for Variant
impl Move for Variant
impl RefUnwindSafe for Variant
impl Send for Variant
impl Sync for Variant
impl Unpin for Variant
impl UnsafeUnpin for Variantwhere
*const LeafNode<String, String> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, String)>>: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Variant
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