Struct gluon_base::pos::BytePos [−][src]
pub struct BytePos(pub u32);
Expand description
A byte position in a source file.
Tuple Fields
0: u32
Implementations
Trait Implementations
Performs the +=
operation. Read more
type Offset = ByteOffset
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
type Output = ByteOffset
type Output = ByteOffset
The resulting type after applying the -
operator.
Performs the -
operation. Read more
Performs the -=
operation. Read more
Auto Trait Implementations
impl RefUnwindSafe for ByteIndex
impl UnwindSafe for ByteIndex
Blanket Implementations
Mutably borrows from an owned value. Read more