The lawful use of a building or structure or the lawful use of any land as existing and lawful at the time of enactment of this chapter, or of an amendment thereto, may be continued except as hereinafter provided, although such use does not conform with the provisions of such ordinance or amendment.