pub struct ModuleSurface {
pub name: String,
pub version: String,
pub surface: Surface,
}Expand description
One module’s entry in the composed document.
Fields§
§name: String§version: String§surface: SurfaceTrait Implementations§
Source§impl Clone for ModuleSurface
impl Clone for ModuleSurface
Source§fn clone(&self) -> ModuleSurface
fn clone(&self) -> ModuleSurface
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 ModuleSurface
impl Debug for ModuleSurface
Source§impl<'de> Deserialize<'de> for ModuleSurface
impl<'de> Deserialize<'de> for ModuleSurface
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
Auto Trait Implementations§
impl Freeze for ModuleSurface
impl RefUnwindSafe for ModuleSurface
impl Send for ModuleSurface
impl Sync for ModuleSurface
impl Unpin for ModuleSurface
impl UnsafeUnpin for ModuleSurface
impl UnwindSafe for ModuleSurface
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