Kaba class ImageLayout ed

...

Syntax ed

class ImageLayout

    # functions
    func static pure all(type: Class&) -> ImageLayout[]
    func static pure from_int(i: i32) -> ImageLayout
    func static pure parse(label: string, type: Class&) -> ImageLayout

    # operators
    func pure __i32__() -> i32           # i32(ImageLayout) -> i32
    func static __assign__(a: ImageLayout, b: ImageLayout) # ImageLayout = ImageLayout
    func pure __add__(b: ImageLayout) -> ImageLayout # ImageLayout + ImageLayout -> ImageLayout
    func static __iadd__(a: ImageLayout, b: ImageLayout) # ImageLayout += ImageLayout
    func pure __eq__(b: ImageLayout) -> bool # ImageLayout == ImageLayout -> bool
    func pure __neq__(b: ImageLayout) -> bool # ImageLayout __neq__ ImageLayout -> bool
    func pure __bitand__(b: ImageLayout) -> ImageLayout # ImageLayout & ImageLayout -> ImageLayout
    func pure __bitor__(b: ImageLayout) -> ImageLayout # ImageLayout | ImageLayout -> ImageLayout

    # constants
    let GENERAL: ImageLayout
    let PRESENT_SRC: ImageLayout
    let TRANSFER_DST_OPTIMAL: ImageLayout
    let TRANSFER_SRC_OPTIMAL: ImageLayout
    let UNDEFINED: ImageLayout

Functions ed

func static pure all(type: Class&) -> ImageLayout[]
...

func static pure from_int(i: i32) -> ImageLayout
...

func static pure parse(label: string, type: Class&) -> ImageLayout
...