Module xcur::parser [] [src]

Basic usage

To parse a XCursor file you will need to use the File::parse function, you need to pass to it an u8 inmutable slice and voila! that's all.

Structs

ChunkHeader

The base header for all chunks

Comment

Represents a comment in XCursor file

File

The XCursor file

Header

Represents the XCur file Header

Image

An image

TableOfContents

Information of chunks

Enums

ParseError

Represents an error when parsing an XCursor file

Constants

COMMENT_COPYRIGHT

Comment subtype

COMMENT_LICENSE

Comment subtype

COMMENT_OTHER

Comment subtype

Type Definitions

CARD8

8-bit unsigned integer

CARD32

32-bit unsigned integer