pub struct CompactCellRef { /* private fields */ }Expand description
Inline canonical worksheet cell reference such as A1 or XFD1048576.
Implementations§
Source§impl CompactCellRef
impl CompactCellRef
Sourcepub fn new(input: &str) -> Result<Self, CellRefError>
pub fn new(input: &str) -> Result<Self, CellRefError>
Creates a validated canonical worksheet cell reference.
Sourcepub fn from_coordinates(column: u32, row: u32) -> Result<Self, CellRefError>
pub fn from_coordinates(column: u32, row: u32) -> Result<Self, CellRefError>
Creates a canonical reference from checked 1-based coordinates.
Trait Implementations§
Source§impl AsRef<str> for CompactCellRef
impl AsRef<str> for CompactCellRef
Source§impl Clone for CompactCellRef
impl Clone for CompactCellRef
Source§fn clone(&self) -> CompactCellRef
fn clone(&self) -> CompactCellRef
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 moreimpl Copy for CompactCellRef
Source§impl Debug for CompactCellRef
impl Debug for CompactCellRef
Source§impl<'de> Deserialize<'de> for CompactCellRef
impl<'de> Deserialize<'de> for CompactCellRef
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CompactCellRef
impl Display for CompactCellRef
impl Eq for CompactCellRef
Source§impl PartialEq for CompactCellRef
impl PartialEq for CompactCellRef
Source§impl PartialEq<&str> for CompactCellRef
impl PartialEq<&str> for CompactCellRef
Source§impl PartialEq<str> for CompactCellRef
impl PartialEq<str> for CompactCellRef
Source§impl Serialize for CompactCellRef
impl Serialize for CompactCellRef
impl StructuralPartialEq for CompactCellRef
Source§impl TryFrom<&str> for CompactCellRef
impl TryFrom<&str> for CompactCellRef
Auto Trait Implementations§
impl Freeze for CompactCellRef
impl RefUnwindSafe for CompactCellRef
impl Send for CompactCellRef
impl Sync for CompactCellRef
impl Unpin for CompactCellRef
impl UnsafeUnpin for CompactCellRef
impl UnwindSafe for CompactCellRef
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