Expand description
X11 resource manager library.
To open a database, it is recommended to use Database::new_from_default
, but that function
needs to do I/O. A wrapper to simplify usage is e.g. provided in the x11rb crate.
This functionality is similar to what is available to C code through xcb-util-xrm and Xlibβs
Xrm*
function family. Not all their functionality is available in this library. Please open a
feature request if you need something that is not available.
The code in this module is only available when the resource_manager
feature of the library is
enabled.
ModulesΒ§
- matcher π
- Match Xrm entries against a query.
- parser π
- Code for parsing resource management things
- work_
around_ πconstant_ limitations
StructsΒ§
EnumsΒ§
- Binding π
- How tightly does the component of an entry match a query?
- Component π
- A component of a database entry.
ConstantsΒ§
- MAX_
INCLUSION_ πDEPTH - Maximum nesting of #include directives, same value as Xlib uses.
After following this many
#include
directives, further includes are ignored.
FunctionsΒ§
- parse_
data_ πwith_ base_ directory - Parse the given data as a resource database.
- to_bool π
- Parse a value to a boolean, returning
None
if this is not possible.