var searchIndex = {}; searchIndex["xcur"] = {"doc":"# Usage\nPut this in your `Cargo.toml`:\n```toml\n[dependencies]\nxcur = "0.1.*"\n```\nAnd this to your crate root:\n```rust\nextern crate xcur;\n```","items":[[0,"parser","xcur","# Basic usage\nTo parse a `XCursor` file you will need to use the `File::parse` function,\nyou need to pass to it an `u8` inmutable slice and voila! that's all.",null,null],[3,"Header","xcur::parser","Represents the `XCur` file `Header`",null,null],[12,"magic","","Magic bytes",0,null],[12,"header","","Bytes in header",0,null],[12,"version","","File version",0,null],[12,"ntoc","","Number of TOCs",0,null],[3,"TableOfContents","","Information of chunks",null,null],[12,"type_","","Entry type.",1,null],[12,"subtype","","Type-specific label, size for images.",1,null],[12,"position","","Absolute position of table in file",1,null],[3,"ChunkHeader","","The base header for all chunks",null,null],[12,"header","","Bytes used in the chunk",2,null],[12,"type_","","The chunk type",2,null],[12,"subtype","","The subtype",2,null],[12,"version","","The chunk version",2,null],[3,"Comment","","Represents a comment in `XCursor` file",null,null],[12,"chunkheader","","The chunk header",3,null],[12,"length","","The comment string length",3,null],[12,"string","","The comment string",3,null],[3,"Image","","An image",null,null],[12,"chunkheader","","The chunk header",4,null],[12,"width","","Image width",4,null],[12,"height","","Image height",4,null],[12,"xhot","","X Hot",4,null],[12,"yhot","","Y Hot",4,null],[12,"delay","","Delay in ms",4,null],[12,"pixels","","The actual image data",4,null],[3,"File","","The `XCursor` file",null,null],[12,"comments","","The comments in file",5,null],[12,"images","","The images in file",5,null],[6,"CARD32","","32-bit unsigned integer",null,null],[6,"CARD8","","8-bit unsigned integer",null,null],[17,"COMMENT_COPYRIGHT","","Comment subtype",null,null],[17,"COMMENT_LICENSE","","Comment subtype",null,null],[17,"COMMENT_OTHER","","Comment subtype",null,null],[11,"clone","","",0,null],[11,"fmt","","",0,null],[11,"clone","","",1,null],[11,"fmt","","",1,null],[11,"clone","","",2,null],[11,"fmt","","",2,null],[11,"clone","","",3,null],[11,"fmt","","",3,null],[11,"clone","","",4,null],[11,"fmt","","",4,null],[11,"clone","","",5,null],[11,"fmt","","",5,null],[11,"parse","","Parses an XCursor file",5,null]],"paths":[[3,"Header"],[3,"TableOfContents"],[3,"ChunkHeader"],[3,"Comment"],[3,"Image"],[3,"File"]]}; initSearch(searchIndex);