pub struct Directory<'a> { /* private fields */ }
Implementations§
§impl Directory<'_>
impl Directory<'_>
pub fn characteristics(&self) -> u32
pub fn characteristics(&self) -> u32
Resource characteristics. This field is reserved for future use. It is currently set to zero.
pub fn time_date_stamp(&self) -> u32
pub fn time_date_stamp(&self) -> u32
The time that the resource data was created by the resource compiler.
pub fn major_version(&self) -> u32
pub fn major_version(&self) -> u32
The major version number, set by the user.
pub fn minor_version(&self) -> u32
pub fn minor_version(&self) -> u32
The minor version number, set by the user.
pub fn numberof_name_entries(&self) -> u32
pub fn numberof_name_entries(&self) -> u32
The number of directory entries immediately following the table that use strings to identify Type, Name, or Language entries (depending on the level of the table).
pub fn numberof_id_entries(&self) -> u32
pub fn numberof_id_entries(&self) -> u32
The number of directory entries immediately following the Name entries that use numeric IDs for Type, Name, or Language entries.
Trait Implementations§
§impl NodeBase for Directory<'_>
impl NodeBase for Directory<'_>
§fn id(&self) -> u32
fn id(&self) -> u32
Integer that identifies the Type, Name, or Language ID of the entry
depending on its
NodeBase::depth
in the tree§fn add_child(&mut self, node: &Node<'_>) -> Node<'_>
fn add_child(&mut self, node: &Node<'_>) -> Node<'_>
Add a new child node to the current and return the newly-added node
§fn delete_child(&mut self, id: u32)
fn delete_child(&mut self, id: u32)
Delete the child node with the given id
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Directory<'a>
impl<'a> !Send for Directory<'a>
impl<'a> !Sync for Directory<'a>
impl<'a> Unpin for Directory<'a>
impl<'a> !UnwindSafe for Directory<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more