Struct svgparser::TextFrame [] [src]

pub struct TextFrame<'a> { /* fields omitted */ }

An immutable string slice.

Unlike &str contains a full original string.

Methods

impl<'a> TextFrame<'a>
[src]

Constructs a new TextFrame from string.

Constructs a new TextFrame from substring.

Returns a start position of the frame.

Returns a end position of the frame.

Returns a length of the frame.

Returns a length of the frame underling string.

Returns a frame slice.

Returns an underling string.

Trait Implementations

impl<'a> PartialEq for TextFrame<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Clone for TextFrame<'a>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'a> Copy for TextFrame<'a>
[src]

impl<'a> Debug for TextFrame<'a>
[src]

Formats the value using the given formatter.

impl<'a> Display for TextFrame<'a>
[src]

Formats the value using the given formatter. Read more