jon.recoil.org

Module Media.ConstraintsSource

Property constraints specifications.

Sourcetype t

The type for constraints.

empty () is an empty set of constraints.

Sourceval find : ('a, 'b, 'c) Brr_io.Media.Prop.t -> Brr_io.Media.Constraints.t -> 'c option

find p s is the constraint for p in c (if any).

Sourceval set : ('a, 'b, 'c) Brr_io.Media.Prop.t -> 'c -> Brr_io.Media.Constraints.t -> unit

set p v c sets the constraint for p to v in c.

Sourceval delete : ('a, 'b, 'c) Brr_io.Media.Prop.t -> Brr_io.Media.Constraints.t -> unit

delete p c deletes the constraint for p from c.