pub enum Source {
Block(usize),
LastBlock,
External(String),
Inline(NodeId),
}Expand description
Where an array’s data comes from.
Variants§
Block(usize)
A binary block in this file, by index.
LastBlock
The last block in this file, written as source: -1.
Kept distinct from a resolved index because a streamed array is written this way before the block count is known.
External(String)
The first block of another ASDF file, named by URI.
Inline(NodeId)
Nested sequences in the tree itself.
Trait Implementations§
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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