pub struct Output {
pub prefab: Option<PrefabRow>,
pub plan_index: u64,
pub key: String,
pub kind: OutputKind,
pub unit: Option<String>,
pub serialized_file: RawStr,
pub path_id: i64,
pub sprite: Option<usize>,
pub bytes: Vec<u8>,
pub md5: [u8; 16],
pub picture: Option<Picture>,
pub members: Vec<MemberPath>,
/* private fields */
}Expand description
An output the cut made, handed to the sink as it is made.
Fields§
§prefab: Option<PrefabRow>§plan_index: u64Stable planning ordinal, independent of export grouping.
key: StringIts key.
kind: OutputKindIts kind.
unit: Option<String>Its unit key (4.5), or none.
serialized_file: RawStrIts object’s SerializedFile, by its stored name.
path_id: i64Its object’s path id (an atlas’s outputs, the MonoBehaviour’s; a Sprite’s, the Sprite’s).
sprite: Option<usize>An atlas sprite’s index in mSprites.
bytes: Vec<u8>The file: a PNG, or the atlas JSON.
md5: [u8; 16]The bytes’ MD5.
picture: Option<Picture>A PNG’s image; none for an atlas JSON.
members: Vec<MemberPath>Its archive member paths, expanded at the plan.
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Output
impl !RefUnwindSafe for Output
impl !UnwindSafe for Output
impl Forget for Output
impl Move for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnsafeUnpin for Output
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