oceanpkg 0.0.11

Client library for the Ocean package manager.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use crate::drop::Metadata;

/// A package with a graphical interface.
#[derive(Clone, Debug)]
pub struct App {
    metadata: Metadata,
    file_name: String,
}

impl App {
    /// Returns basic metadata for the drop.
    #[inline]
    pub const fn metadata(&self) -> &Metadata {
        &self.metadata
    }
}