### Option Enum Definition and Usage in Stash Source: https://github.com/speedsheet/sheet-rust/blob/master/CONTRIBUTING.md Shows the Stash representation of Rust's Option enum, its variants, and common usage patterns with explanations and examples. ```stash ### Option\ enum Option\<T<>> { Some(T<>), None, }<> Represents an optional value. Either contains a value (Some<>) or doesn't (None<>). Common patterns: let value<> = opt<>.unwrap_or(default<>); let value<> = opt<>.unwrap_or_else(|| compute_default<>()); if let Some(x<>) = opt<> { <#>// use x<> }<> Safer than unwrap()<>. Prefer match<>, if let<>, or combinator methods (map<>, and_then<>, etc.) over direct unwrapping. Example: fn find_user(id: u32) -> Option<&'static str> { match id { 1 => Some("Alice"), 2 => Some("Bob"), _ => None, } } let name = find_user(1).unwrap_or("Guest"); <#>// name = "Alice"<> let missing = find_user(99).unwrap_or("Guest"); <#>// missing = "Guest"<><> @ @ Option, Some, None, optional values ``` -------------------------------- ### Stash Format Quick Reference Source: https://github.com/speedsheet/sheet-rust/blob/master/CONTRIBUTING.md Demonstrates the basic syntax of the Stash format for headings, code blocks, inline code, bullet points, and comments. ```stash # Heading Level 1 ## Heading Level 2 code_example()<> inline_code<> bold text<> <*>Bullet point Another bullet<> ``` -------------------------------- ### Stash Format Key Elements Source: https://github.com/speedsheet/sheet-rust/blob/master/CONTRIBUTING.md Explains the meaning of key elements in the Stash format, such as headings, code blocks, inline code, list items, and comments. ```stash # Heading code<> code<> <*>item<> <#>comment<> ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.