pub struct ProjectInfo {
pub name: String,
pub version: String,
pub function_count: usize,
pub history_length: usize,
}Expand description
Summary information about a loaded project.
Fields§
§name: StringProject name.
version: StringContent-addressed version hash of the current module.
function_count: usizeNumber of functions in the module.
history_length: usizeNumber of patches in the undo history.
Trait Implementations§
Source§impl Clone for ProjectInfo
impl Clone for ProjectInfo
Source§fn clone(&self) -> ProjectInfo
fn clone(&self) -> ProjectInfo
Returns a duplicate of the value. Read more
1.0.0 · 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 ProjectInfo
impl Debug for ProjectInfo
Source§impl<'de> Deserialize<'de> for ProjectInfo
impl<'de> Deserialize<'de> for ProjectInfo
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 ProjectInfo
impl RefUnwindSafe for ProjectInfo
impl Send for ProjectInfo
impl Sync for ProjectInfo
impl Unpin for ProjectInfo
impl UnsafeUnpin for ProjectInfo
impl UnwindSafe for ProjectInfo
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