Struct css_parser::Selector [−][src]
pub struct Selector { /* fields omitted */ }
Expand description
Implementations
Returns other nested under self
Trait Implementations
fn to_string_from_buffer(
&self,
buf: &mut impl ToString,
settings: &ToStringSettings,
depth: u8
)
fn to_string_from_buffer(
&self,
buf: &mut impl ToString,
settings: &ToStringSettings,
depth: u8
)
Depth indicates the indentation of current block
Returns position of node as span as it was parsed. May be invalid or none after mutation
fn from_string(
string: String,
source_id: SourceId,
offset: Option<usize>
) -> Result<Self, ParseError>
fn from_string(
string: String,
source_id: SourceId,
offset: Option<usize>
) -> Result<Self, ParseError>
Parses structure from string
Returns structure as valid string. If SourceMap
passed will add mappings to SourceMap
Auto Trait Implementations
impl RefUnwindSafe for Selector
impl UnwindSafe for Selector
Blanket Implementations
Mutably borrows from an owned value. Read more