pub struct OutputResult {
pub success: bool,
pub atlas_path: Option<String>,
pub xml_path: Option<String>,
pub char_count: Option<usize>,
pub atlas_size: Option<AtlasSize>,
pub char_map: Option<Value>,
pub error_type: Option<String>,
pub error_message: Option<String>,
pub suggestion: Option<String>,
}Expand description
Output result containing generated file paths
Fields§
§success: boolWhether the operation succeeded
atlas_path: Option<String>Path to the generated atlas PNG
xml_path: Option<String>Path to the generated XML file
char_count: Option<usize>Number of characters processed
atlas_size: Option<AtlasSize>Atlas dimensions
char_map: Option<Value>Character map with positions
error_type: Option<String>Error type (if failed)
error_message: Option<String>Error message (if failed)
suggestion: Option<String>Suggestion for fixing the error
Implementations§
Trait Implementations§
Source§impl Debug for OutputResult
impl Debug for OutputResult
Source§impl<'de> Deserialize<'de> for OutputResult
impl<'de> Deserialize<'de> for OutputResult
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 OutputResult
impl RefUnwindSafe for OutputResult
impl Send for OutputResult
impl Sync for OutputResult
impl Unpin for OutputResult
impl UnsafeUnpin for OutputResult
impl UnwindSafe for OutputResult
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