Trait EndpointOffsets

Source
pub trait EndpointOffsets {
    // Required methods
    fn start_offset(&self) -> i32;
    fn end_offset(&self) -> i32;
}
Expand description

Defines a start/end offsets for use when shifting a Timing’s boundaries.

Required Methods§

Source

fn start_offset(&self) -> i32

Offset to be applied to the Timing’s start bound.

Source

fn end_offset(&self) -> i32

Offset to be applied to the Timing’s end bound.

Implementations on Foreign Types§

Source§

impl EndpointOffsets for (i32, i32)

Source§

impl EndpointOffsets for i32

Implementors§