pub struct SheetPosition {
pub sheet: String,
pub line: u32,
pub column: u32,
}Expand description
Where something was written in a stylesheet: the sheet’s name, and the line and column of its first character, counted the way a warning counts them.
Fields§
§sheet: StringThe name the sheet was handed in under.
line: u32The line, counting from 1.
column: u32The column, counting from 1.
Trait Implementations§
Source§impl Clone for SheetPosition
impl Clone for SheetPosition
Source§fn clone(&self) -> SheetPosition
fn clone(&self) -> SheetPosition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SheetPosition
impl Debug for SheetPosition
Source§impl Default for SheetPosition
impl Default for SheetPosition
Source§fn default() -> SheetPosition
fn default() -> SheetPosition
Returns the “default value” for a type. Read more
Source§impl Display for SheetPosition
impl Display for SheetPosition
impl Eq for SheetPosition
Source§impl PartialEq for SheetPosition
impl PartialEq for SheetPosition
impl StructuralPartialEq for SheetPosition
Auto Trait Implementations§
impl Freeze for SheetPosition
impl RefUnwindSafe for SheetPosition
impl Send for SheetPosition
impl Sync for SheetPosition
impl Unpin for SheetPosition
impl UnsafeUnpin for SheetPosition
impl UnwindSafe for SheetPosition
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.