tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

counters.rs (1093B)


      1 /* This Source Code Form is subject to the terms of the Mozilla Public
      2 * License, v. 2.0. If a copy of the MPL was not distributed with this
      3 * file, You can obtain one at https://mozilla.org/MPL/2.0/. */
      4 
      5 //! Computed values for counter properties
      6 
      7 use crate::values::computed::image::Image;
      8 use crate::values::generics::counters as generics;
      9 use crate::values::generics::counters::CounterIncrement as GenericCounterIncrement;
     10 use crate::values::generics::counters::CounterReset as GenericCounterReset;
     11 use crate::values::generics::counters::CounterSet as GenericCounterSet;
     12 
     13 /// A computed value for the `counter-increment` property.
     14 pub type CounterIncrement = GenericCounterIncrement<i32>;
     15 
     16 /// A computed value for the `counter-reset` property.
     17 pub type CounterReset = GenericCounterReset<i32>;
     18 
     19 /// A computed value for the `counter-set` property.
     20 pub type CounterSet = GenericCounterSet<i32>;
     21 
     22 /// A computed value for the `content` property.
     23 pub type Content = generics::GenericContent<Image>;
     24 
     25 /// A computed content item.
     26 pub type ContentItem = generics::GenericContentItem<Image>;