Enum webrender_api::ClipId
[−]
[src]
pub enum ClipId { Clip(u64, PipelineId), ClipExternalId(u64, PipelineId), DynamicallyAddedNode(u64, PipelineId), }
Variants
Clip(u64, PipelineId)
ClipExternalId(u64, PipelineId)
DynamicallyAddedNode(u64, PipelineId)
Methods
impl ClipId
[src]
pub fn root_scroll_node(pipeline_id: PipelineId) -> ClipId
[src]
pub fn root_reference_frame(pipeline_id: PipelineId) -> ClipId
[src]
pub fn new(id: u64, pipeline_id: PipelineId) -> ClipId
[src]
pub fn pipeline_id(&self) -> PipelineId
[src]
pub fn external_id(&self) -> Option<u64>
[src]
pub fn is_root_scroll_node(&self) -> bool
[src]
Trait Implementations
impl Clone for ClipId
[src]
fn clone(&self) -> ClipId
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Copy for ClipId
[src]
impl Debug for ClipId
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for ClipId
[src]
impl Hash for ClipId
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more