Skip to main content

HasAssociationAttributes

Trait HasAssociationAttributes 

Source
pub trait HasAssociationAttributes {
    // Required method
    fn association(&self) -> &AssociationAttributes;

    // Provided methods
    fn href(&self) -> Option<&HRef> { ... }
    fn local_id(&self) -> Option<&str> { ... }
    fn nil_reason(&self) -> Option<&NilReason> { ... }
    fn title(&self) -> Option<&str> { ... }
    fn role(&self) -> Option<&str> { ... }
    fn arcrole(&self) -> Option<&str> { ... }
    fn show(&self) -> Option<&ShowType> { ... }
    fn actuate(&self) -> Option<&ActuateType> { ... }
}
Expand description

Read-only access to the gml:AssociationAttributeGroup on a property element.

Required Methods§

Provided Methods§

Source

fn href(&self) -> Option<&HRef>

xlink:href — reference to the geometry object, if not inline.

Source

fn local_id(&self) -> Option<&str>

Bare GML gml:id when href is a local fragment reference.

Source

fn nil_reason(&self) -> Option<&NilReason>

gml:nilReason — explanation for a missing value.

Source

fn title(&self) -> Option<&str>

xlink:title — human-readable label for the linked resource.

Source

fn role(&self) -> Option<&str>

xlink:role — URI identifying the semantic role of the linked resource.

Source

fn arcrole(&self) -> Option<&str>

xlink:arcrole — URI identifying the role of the link arc.

Source

fn show(&self) -> Option<&ShowType>

xlink:show — how the linked resource should be presented on traversal.

Source

fn actuate(&self) -> Option<&ActuateType>

xlink:actuate — when link traversal should be triggered.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§