pub struct CssSection(/* private fields */);
Implementations§
Source§impl CssSection
impl CssSection
pub fn get_end_line(&self) -> u32
pub fn get_end_position(&self) -> u32
pub fn get_file(&self) -> Option<File>
pub fn get_parent(&self) -> Option<CssSection>
pub fn get_section_type(&self) -> CssSectionType
pub fn get_start_line(&self) -> u32
pub fn get_start_position(&self) -> u32
Trait Implementations§
Source§impl Clone for CssSection
impl Clone for CssSection
Source§fn clone(&self) -> CssSection
fn clone(&self) -> CssSection
Returns a copy 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 CssSection
impl Debug for CssSection
Source§impl Hash for CssSection
impl Hash for CssSection
Source§impl Ord for CssSection
impl Ord for CssSection
Source§fn cmp(&self, other: &CssSection) -> Ordering
fn cmp(&self, other: &CssSection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CssSection
impl PartialEq for CssSection
Source§impl PartialOrd for CssSection
impl PartialOrd for CssSection
Source§impl StaticType for CssSection
impl StaticType for CssSection
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Eq for CssSection
impl StructuralPartialEq for CssSection
Auto Trait Implementations§
impl Freeze for CssSection
impl RefUnwindSafe for CssSection
impl !Send for CssSection
impl !Sync for CssSection
impl Unpin for CssSection
impl UnwindSafe for CssSection
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