Type Alias spade::handles::FixedFaceHandle

source ·
pub type FixedFaceHandle<InnerOuter> = FixedHandleImpl<FaceTag, InnerOuter>;
Expand description

“Fixed handle to a face.

The type parameter is either InnerTag or PossiblyOuterTag, depending on the face type.

See also the handles module

Aliased Type§

struct FixedFaceHandle<InnerOuter> { /* private fields */ }

Implementations§

source§

impl FixedFaceHandle<PossiblyOuterTag>

source

pub fn is_outer(&self) -> bool

Returns true if this face is the single outer face.

source

pub fn as_inner(&self) -> Option<FixedFaceHandle<InnerTag>>

Converts this face handle to an inner face.

Returns None if this handle refers to the single outer face.