pub struct StageDevice {
pub backend_device: String,
pub stable_id: Option<String>,
pub index: Option<usize>,
pub vram_bytes: Option<u64>,
}Fields§
§backend_device: String§stable_id: Option<String>§index: Option<usize>§vram_bytes: Option<u64>Trait Implementations§
Source§impl Clone for StageDevice
impl Clone for StageDevice
Source§fn clone(&self) -> StageDevice
fn clone(&self) -> StageDevice
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 StageDevice
impl Debug for StageDevice
Source§impl<'de> Deserialize<'de> for StageDevice
impl<'de> Deserialize<'de> for StageDevice
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 StageDevice
Source§impl PartialEq for StageDevice
impl PartialEq for StageDevice
Source§impl Serialize for StageDevice
impl Serialize for StageDevice
impl StructuralPartialEq for StageDevice
Auto Trait Implementations§
impl Freeze for StageDevice
impl RefUnwindSafe for StageDevice
impl Send for StageDevice
impl Sync for StageDevice
impl Unpin for StageDevice
impl UnsafeUnpin for StageDevice
impl UnwindSafe for StageDevice
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