Fragment
public struct Fragment
A fragment of a Meter
. Wrapping a base
meter along with the range
of the fragment.
-
The meter of which this is a fragment.
Declaration
Swift
public let base: Meter
-
The range of the fragment in the base meter.
Declaration
Swift
public let range: Range<Fraction>
-
Undocumented
Declaration
Swift
public init(_ meter: Meter, in range: Range<Fraction>? = nil)
-
A
Meter.Fragment
is measured by aFraction
value.Declaration
Swift
public typealias Metric = Fraction
-
Declaration
Swift
public var length: Fraction { get }
Return Value
The fractional length of this
Meter.Fraction
.
-
The fragment type of a
Meter.Fragment
is aMeter.Fragment
.Declaration
Swift
public typealias Fragment = Meter.Fragment