mirror of
https://github.com/servo/servo.git
synced 2025-08-11 00:15:32 +01:00
style: Remove get_ prefix from get_state and get_id.
This commit is contained in:
parent
b8fb41da0c
commit
98c9292ecb
10 changed files with 27 additions and 25 deletions
|
@ -461,13 +461,13 @@ pub trait TElement
|
|||
}
|
||||
|
||||
/// Get this element's state, for non-tree-structural pseudos.
|
||||
fn get_state(&self) -> ElementState;
|
||||
fn state(&self) -> ElementState;
|
||||
|
||||
/// Whether this element has an attribute with a given namespace.
|
||||
fn has_attr(&self, namespace: &Namespace, attr: &LocalName) -> bool;
|
||||
|
||||
/// The ID for this element.
|
||||
fn get_id(&self) -> Option<Atom>;
|
||||
fn id(&self) -> Option<Atom>;
|
||||
|
||||
/// Internal iterator for the classes of this element.
|
||||
fn each_class<F>(&self, callback: F) where F: FnMut(&Atom);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue