pub struct PackageSurface {
pub library: String,
pub version: String,
pub operations: Vec<SurfaceOperation>,
pub capabilities: RuntimeCapabilities,
}Fields§
§library: String§version: String§operations: Vec<SurfaceOperation>§capabilities: RuntimeCapabilitiesTrait Implementations§
Source§impl Clone for PackageSurface
impl Clone for PackageSurface
Source§fn clone(&self) -> PackageSurface
fn clone(&self) -> PackageSurface
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 PackageSurface
impl Debug for PackageSurface
Source§impl<'de> Deserialize<'de> for PackageSurface
impl<'de> Deserialize<'de> for PackageSurface
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
Source§impl PartialEq for PackageSurface
impl PartialEq for PackageSurface
Source§fn eq(&self, other: &PackageSurface) -> bool
fn eq(&self, other: &PackageSurface) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PackageSurface
impl Serialize for PackageSurface
impl StructuralPartialEq for PackageSurface
Auto Trait Implementations§
impl Freeze for PackageSurface
impl RefUnwindSafe for PackageSurface
impl Send for PackageSurface
impl Sync for PackageSurface
impl Unpin for PackageSurface
impl UnsafeUnpin for PackageSurface
impl UnwindSafe for PackageSurface
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