[][src]Enum texture_synthesis::SampleMethod

pub enum SampleMethod<'a> {
    All,
    Ignore,
    Image(ImageSource<'a>),
}

Method used for sampling an example image.

Variants

All

All pixels in the example image can be sampled.

Ignore

No pixels in the example image will be sampled.

Image(ImageSource<'a>)

Pixels are selectively sampled based on an image.

Trait Implementations

impl<'a, S> From<&'a S> for SampleMethod<'a> where
    S: AsRef<Path> + 'a, 
[src]

Auto Trait Implementations

impl<'a> Sync for SampleMethod<'a>

impl<'a> Send for SampleMethod<'a>

impl<'a> Unpin for SampleMethod<'a>

impl<'a> UnwindSafe for SampleMethod<'a>

impl<'a> RefUnwindSafe for SampleMethod<'a>

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,