pub struct ProgramEntry {
pub program: String,
pub node: Option<usize>,
pub version: u32,
pub document: Vec<u8>,
}Expand description
One program’s document about the whole file or one node.
Fields§
§program: StringThe program’s name, such as nudl: 1 to 64 lowercase letters,
digits, dots, hyphens and underscores, starting with a letter.
node: Option<usize>The node the entry is about, as an index into the scene’s nodes, or
None for the whole file.
version: u32The program’s own version of the document.
document: Vec<u8>The document, carried without being read.
Trait Implementations§
Source§impl Clone for ProgramEntry
impl Clone for ProgramEntry
Source§impl Debug for ProgramEntry
impl Debug for ProgramEntry
impl Eq for ProgramEntry
Source§impl PartialEq for ProgramEntry
impl PartialEq for ProgramEntry
impl StructuralPartialEq for ProgramEntry
Auto Trait Implementations§
impl Forget for ProgramEntry
impl Freeze for ProgramEntry
impl Move for ProgramEntry
impl RefUnwindSafe for ProgramEntry
impl Send for ProgramEntrywhere
RawVecInner: Send,
impl Sync for ProgramEntrywhere
RawVecInner: Sync,
impl Unpin for ProgramEntry
impl UnsafeUnpin for ProgramEntry
impl UnwindSafe for ProgramEntrywhere
RawVecInner: UnwindSafe,
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