Enum kerbalobjects::ko::symbols::SymBind
source · #[repr(u8)]
pub enum SymBind {
Local,
Global,
Extern,
}
Expand description
Represents the “binding” of a symbol in the symbol table.
This is akin to the visibility level of the symbol. Is it a “local” symbol, where it can only be recognized within this KO file, or is it global, and can be linked against from another file?
Variants
Local
This symbol is only visible within the current object file.
Global
This symbol is visible to the linker from other object files.
Extern
This symbol doesn’t exist in the current object file, it is external. This should be matched with a corresponding symbol of the same name marked as Global
Trait Implementations
impl Copy for SymBind
impl Eq for SymBind
impl StructuralEq for SymBind
impl StructuralPartialEq for SymBind
Auto Trait Implementations
impl RefUnwindSafe for SymBind
impl Send for SymBind
impl Sync for SymBind
impl Unpin for SymBind
impl UnwindSafe for SymBind
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more