pub enum SectionNumber {
UserCommands,
SystemCalls,
LibraryCalls,
Devices,
FileFormatsAndConfigurationFiles,
Games,
Miscellaneous,
SystemManagementCommands,
Custom(u8),
}
Expand description
Defines the section to which the given ROFF belongs.
Variants§
UserCommands
Commands that can be executed by the user from within a shell.
SystemCalls
Functions which wrap operations performed by the kernel.
LibraryCalls
All library functions excluding the system call wrappers (Most of the libc functions).
Devices
Files found in /dev
which allow to access to devices through the kernel.
FileFormatsAndConfigurationFiles
Describes various human-readable file formats and configuration files.
Games
Games and funny little programs available on the system.
Miscellaneous
Overviews or descriptions of various topics, conventions, and protocols, character set standards, the standard filesystem layout, and miscellaneous other things.
SystemManagementCommands
Commands like mount(8)
, many of which only root can execute.
Custom(u8)
A custom section number.
Trait Implementations§
Source§impl Clone for SectionNumber
impl Clone for SectionNumber
Source§fn clone(&self) -> SectionNumber
fn clone(&self) -> SectionNumber
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SectionNumber
impl Debug for SectionNumber
Source§impl From<SectionNumber> for u8
impl From<SectionNumber> for u8
Source§fn from(s: SectionNumber) -> Self
fn from(s: SectionNumber) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SectionNumber
impl PartialEq for SectionNumber
Source§impl Roffable for SectionNumber
impl Roffable for SectionNumber
impl Copy for SectionNumber
impl StructuralPartialEq for SectionNumber
Auto Trait Implementations§
impl Freeze for SectionNumber
impl RefUnwindSafe for SectionNumber
impl Send for SectionNumber
impl Sync for SectionNumber
impl Unpin for SectionNumber
impl UnwindSafe for SectionNumber
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