Skip to main content

TableEntry

Trait TableEntry 

Source
pub trait TableEntry {
    // Required methods
    fn handle(&self) -> Handle;
    fn set_handle(&mut self, handle: Handle);
    fn name(&self) -> &str;
    fn set_name(&mut self, name: String);

    // Provided method
    fn is_standard(&self) -> bool { ... }
}
Expand description

Base trait for all table entries

Required Methods§

Source

fn handle(&self) -> Handle

Get the entry’s unique handle

Source

fn set_handle(&mut self, handle: Handle)

Set the entry’s handle

Source

fn name(&self) -> &str

Get the entry’s name

Source

fn set_name(&mut self, name: String)

Set the entry’s name

Provided Methods§

Source

fn is_standard(&self) -> bool

Check if this is a standard/default entry

Implementors§