Struct cbm::disk::Id [−][src]
pub struct Id(_);
Various fields in CBM DOS are two-byte identifiers which are frequently shown as Petscii strings.
Methods
impl Id
[src]
impl Id
Trait Implementations
impl Clone for Id
[src]
impl Clone for Id
fn clone(&self) -> Id
[src]
fn clone(&self) -> Id
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Id
[src]
impl Copy for Id
impl Debug for Id
[src]
impl Debug for Id
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Id
[src]
impl PartialEq for Id
fn eq(&self, other: &Id) -> bool
[src]
fn eq(&self, other: &Id) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Id) -> bool
[src]
fn ne(&self, other: &Id) -> bool
This method tests for !=
.
impl Into<Petscii> for Id
[src]
impl Into<Petscii> for Id
impl Into<String> for Id
[src]
impl Into<String> for Id
impl AsRef<[u8]> for Id
[src]
impl AsRef<[u8]> for Id
impl AsRef<Id> for Id
[src]
impl AsRef<Id> for Id
impl<'a> From<&'a [u8]> for Id
[src]
impl<'a> From<&'a [u8]> for Id
impl From<Petscii> for Id
[src]
impl From<Petscii> for Id
impl From<String> for Id
[src]
impl From<String> for Id
impl<'a> From<&'a String> for Id
[src]
impl<'a> From<&'a String> for Id
impl<'a> From<&'a str> for Id
[src]
impl<'a> From<&'a str> for Id
impl Index<usize> for Id
[src]
impl Index<usize> for Id
type Output = u8
The returned type after indexing.
fn index(&self, i: usize) -> &u8
[src]
fn index(&self, i: usize) -> &u8
Performs the indexing (container[index]
) operation.
impl IndexMut<usize> for Id
[src]
impl IndexMut<usize> for Id
fn index_mut(&mut self, i: usize) -> &mut u8
[src]
fn index_mut(&mut self, i: usize) -> &mut u8
Performs the mutable indexing (container[index]
) operation.
impl Display for Id
[src]
impl Display for Id